pandas는 데이터 조작 및 분석을 위한 파이썬 라이브러리 

pandas.pydata.org/

 

pandas - Python Data Analysis Library

pandas pandas is a fast, powerful, flexible and easy to use open source data analysis and manipulation tool, built on top of the Python programming language. Install pandas now!

pandas.pydata.org

자주 사용하는 유용한 함수 2가지 정리 

 

1. info()

 => 데이터프레임의 각 열의 이름, 데이터 갯수와 타입 등 정보를 출력

 

2. describe()

 => 열에 대한 통계를 출력(평균, 최소, 최대, 표준편차 등)

'0x005 Machine learning > 01. Python' 카테고리의 다른 글

[Numpy] boolean indexing  (0) 2021.01.02

넘파이 배열은 True, False 값을 통해 행을 선택 할 수 있다. 

 

ex)

 arr = np.array(['A', 'B', 'C', 'D',])

 print(arr[[True, True, False, False]])

 

 => ['A' 'B'] 

'0x005 Machine learning > 01. Python' 카테고리의 다른 글

[pandas] info() / describe()  (0) 2021.01.04

+ Recent posts