df.plot(kind="line")
kind="line" 이 디폴트라 생략 가능
df.plot(y=[col1, col2])
특정 컬럼만 그리고 싶으면 y값을 리스트로 넘기면 된다.
df[[col1, col2]].plot()
위와 동일한 결과
df[col1].plot()
Series 도 plot() 모듈 사용가능
df.plot(kind="bar")
df.plot(kind="barh")
df.plot(kind="bar", stacked=True)
df[col1].plot(kind='bar')
df.plot(kind="pie")
df.plot(kind="hist", bins={구간개수})
이 값들을 보기좋게 시각화한것이 boxplot.
df.plot(kind="box")
df.plot(kind='box', y='math score')
도 같음df.plot(kind="scatter", x={x값}, y={y값})
다른 그래프들하곤 다르게 x, y 값을 설정해줘야 한다.