일반 List에 비해 빠르고, 메모리 효율적
반복문 없이 데이터 배열에 대한 처리 지원
기본 단위 : ndarray
선형대수와 관련된 다양한 기능 제공
C, C++, 포트란 등의 언어와 통합 가능
import numpy as np
test_array = np.array([1,4,5,8],float)
print(test_array)
#array([1., 4., 5., 8.])
type(test_array[3])
#numpy.float64 / 64는 64비트라는 뜻
import numpy as np
test_array = np.array([1,4,5,"8"],float)
print(type(test_array[3])) #float type으로 자동 형변환
print(test_array.dtype) #배열 전체의 데이터타입 밚
print(test_array.shape) #배열의 shape을 반환
shape : numpy array의 object의 dimension 구성을 반환
dtype : numpy array의 데이터 type을 반환



ndim : number of dimension
size : 전체 데이터의 갯수