파이썬 넘파이 배열 data type 선택, 출력 및 변환 Numpy 모듈에서 배열의 자료형을 고르고 확인할 수 있는 dtype과 데이터 타입의 종류를 바꿀 수 있는 astype에 대해서 간략하게 살펴보겠습니다. 참고로, 넘파이에서 지원하는 상세한 자료형 종류에 대한 정보가 필요하시다면 아래 링크의 공식 문서에서 확인하실 수 있습니다. Data types — NumPy v1.22 Manual Array Scalars NumPy generally returns elements of arrays as array scalars (a scalar with an associated dtype). Array scalars differ from Python scalars, but for the most part th..