[3주차 총정리] pd.DataFrame 분포 시각화 (hist, distplot, scatterplot, jointplot, boxplot, crosstab, pairplot)
1. hist() 한 개의 Histogram 뿐만 아니라 두 개 이상도 그릴 수 있다. df[['amount', 'count']].hist(bins=50, figsize=(20,5)) 2. sns.displot() import seaborn as sns sns.distplot(df_amount, rug=True) # rug: Whether to draw a rugplot on the support axis # rugplot : 그래프 상에서 x축 위의 작은 선분으로 실제 데이터의 위치를 나타내준 것 - 2개 이상의 distplot도 그릴 수 있다. sns.distplot(male, kde=False, fit=stats.norm, hist_kws={'color': 'r', 'alpha': 0.2}, fit..