Python中dataframe數據的基本操作、索引的變換、行列選擇、簡單描述

關注微xin號:小程在線 關注CSDN博客:程志偉的博客       import numpy as np import pandas as pd #### 1.1簡單數據操作 #### #生成數據 df1=pd.DataFrame(np.array([[10,20],[30,40]])) df1 Out[2]: 0 1 0 10 20 1 30 40 df2 = pd.DataFrame([pd
相關文章
相關標籤/搜索