데이터 분석

파이썬 데이터프레임 '요약 통계량' 보여주는 describe 함수 (+pandas 사이트에서 찾는 법)

The Ohgorithm 2025. 8. 4. 21:58

 

count: 해당 칼럼에서 유효한 데이터의 수

std: 표준편차

 

unique: 해당 칼럼에서 고유한 데이터의 수(dintinct), 범주의 수

top: 최빈값

freq: 해당 칼럼에서 최빈값이 존재하는 개수

 

pandas 홈페이지 링크: https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.describe.html#pandas.DataFrame.describe

 

pandas.DataFrame.describe — pandas 2.3.1 documentation

The percentiles to include in the output. All should fall between 0 and 1. The default is [.25, .5, .75], which returns the 25th, 50th, and 75th percentiles.

pandas.pydata.org