파이썬 Pandas describe (통계정보)
describe 전체 기술 통계 정보를 알려준다. import pandas as pd df = pd.DataFrame([[0, 1, 2], [3, 4, 5]], index=["r0", "r1"], columns=["c0", "c1", "c2"]) print(df) 출력 c0 c1 c2 r0 0 1 2 r1 3 4 5 print(df.describe()) 출력 c0 c1 c2 count 2.00000 2.00000 2.00000 mean 1.50000 2.50000 3.50000 std 2.12132 2.12132 2.12132 min 0.00000 1.00000 2.00000 25% 0.75000 1.75000 2.75000 50% 1.50000 2.50000 3.50000 75% 2.25000 3.25..
2023. 2. 23.