로딩
요청 처리 중입니다...

[Python] Built-in Data Visualization

 [Python] Built-in Data Visualization

import numpy as np import pandas as pd df = pd.read_csv('df') df['col'].hist() df['col'].plot(kind='hist', bins=30) df['col'].plot.hist() <여러가지 종류의 그래프> df.plot.area df.plot.barh df.plot.density df.plot.hist df.plot.line df.plot.scatter df.plot.bar df.plot.box df.plot.hexbin df.plot.kde df.plot.pie kde plot, 라인을 굵게 하고 스타일을 점선으로 0~30까지의 값(x축)만 확대, 모든 변수의 area plot Legend를 옮기는 방법 plt.legend(loc='center left', bbox_to_anchor=(1, 0.5)) loc은 stri으로 넣어도 되지만 숫자로 넣어도 된...

# bbox_to_anchor # data_visualization # ggplot # legend옮기기 # legend위치 # loc # matplotlib # pandas # python