pandas入門01---Series

爲了入門pandas,須要熟悉兩個經常使用的工具數據結構:Series和DataFrame。數組 今天主要講解Series。數據結構 Series是可以保存任何類型的數據(整數,字符串,浮點數,Python對象等)的一維標記數組。軸標籤統稱爲索引(index)。函數 最簡單的Series能夠僅僅由一個數組造成: obj = pd.Series([4,7,-5,3]) print(obj)工具 結果
相關文章
相關標籤/搜索