모델링/데이터분석

[pandas] Histogram 그리기 (작성중)

eugenie 2021. 10. 22. 13:55
728x90

 

기본 histogram 그리기

- matplot에서

 

- pandas에서

 

pandas 데이터의 여러 컬럼의 histogram 한꺼번에 그리기

 

여러개 plot 겹쳐 그리기

    plt.figure(figsize=(7,5))
    plt.subplot(121)
    plt.hist(data_pd[col])
    plt.title("data_pd")

    plt.subplot(122)
    plt.hist(data_pd[col])
    plt.title("data_pd")

728x90