--- layout: jupyter-notebook-v4.6.3 ---

Jupyter Notebook

import pandas as pd
import matplotlib.pyplot as plt

데이터는 임의로 생성

header = ['col1', 'col2', 'col3', 'col4']
data = [[1,2,3,4],[5,6,7,8],[9,10,11,12]]
df = pd.DataFrame(data, columns=header)
df
col1 col2 col3 col4
0 1 2 3 4
1 5 6 7 8
2 9 10 11 12
plt.plot(df)
plt.legend(df.columns)
plt.show()