프로그래밍 랩 Python pandas groupby가 헷갈릴 때: 데이터를 기준별로 묶고 계산하는 감각 2026년 07월 09일 pandas groupby가 헷갈릴 때 필요한 split-apply-combine 감각과 agg, transform, pivot_table 차이를 작은 예제로 정리합니다.