일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 피보나치 수
- markdown
- 파이썬 포렌식
- 수 정렬하기
- almostIncreasingSequence
- Numpy
- recursion
- til
- cpp
- C++
- Python
- 백준
- codesingal
- codesignal
- 2750
- adjacentElementsProduct
- shapeArea
- Counting cells in a blob
- All Longest Strings
- 10953
- baekjun
- 2015 봄학기 알고리즘
- flask
- matrixElementsSum
- data_structure
- centuryFromYear
- 파이썬머신러닝완벽가이드
- Sequential Search
- collections.deque
- Daily Commit
Archives
- Today
- Total
목록Numpy 1
Introfor
numpy 기초
python에서 행렬과 선형대수를 다루는 패키지로 Numpy가 있다. Numpy는 C언어로 구현된 파이썬 라이브러리로, 고성능 수치계산을 위해 제작되었다. 이것은 데이터 분석을 할 때 사용되는 라이브러리인 pandas와 matplotlib의 기반으로 사용되기도 한다. np.array() import numpy as np # array() 함수 : 리스트 객체를 주로 인자로 받음. 서로 다른 데이터타입이 존재할 경우, 더 큰 데이터 타입으로 변환 # ndarray.shape : 차원과 크기를 튜플 형태로 나타냄 array1 = np.array([1, 2, 3]) print('array1 type: ', type(array1)) print('array1 array 형태:', array1.shape) arra..
Doing/Python
2020. 7. 13. 18:17