array


인자를 통해 array 자료형을 만들어줌



array(리스트)

array(튜플)

array([shape])

 

array.dtype : 해당 array의 데이터 타입 반환

array.shape : 해당 array의 데이터 shape 반환

array.ndim : 해당 array의 차원 수 반환

 

array.astype(타입) : 해당 array의 데이터 타입을 인자로 넣어준 타입으로 형변환한 array를 반환

'실습 > python' 카테고리의 다른 글

[basic] pip란?  (0) 2017.06.09
[basic] iteritems() 함수  (0) 2017.01.21
[numpy] random 함수  (0) 2017.01.21
[h5py] File 객체  (0) 2017.01.21
주요 python 패키지 API 링크  (0) 2017.01.21

numpy

https://docs.scipy.org/doc/numpy/reference/index.html

 

scipy

https://docs.scipy.org/doc/scipy/reference/#api-reference

 

matplotlib

http://matplotlib.org/contents.html

 

pandas

http://pandas.pydata.org/pandas-docs/stable/api.html

 

h5py

http://docs.h5py.org/en/latest/

 

 

'실습 > python' 카테고리의 다른 글

[basic] pip란?  (0) 2017.06.09
[basic] iteritems() 함수  (0) 2017.01.21
[numpy] random 함수  (0) 2017.01.21
[h5py] File 객체  (0) 2017.01.21
[Numpy] array  (0) 2017.01.21

+ Recent posts