티스토리에 올리기
In [1]:
import pandas as pd
import numpy as np
order=[["2017",500,"confirmed"],
      ["2015",700,"confirmed"],
      ["2016",200,"caneled"]]
columns=["date","price","amount"]
order=pd.DataFrame(order,columns=columns)
order
Out[1]:
date price amount
0 2017 500 confirmed
1 2015 700 confirmed
2 2016 200 caneled

'데이터 분석 > python_analysis' 카테고리의 다른 글

jupyter notebook 올리기 예시  (0) 2020.11.25
Series와 DataFrame  (0) 2020.10.21

+ Recent posts