Python Pandas Series對象的創建

Python Pandas Series對象的創建 Series對象類似於Python自帶的字典,二者的區別在於Series對象支持NumPy數組 切片 這類操作,而字典不支持; Series對象也類似於NumPy數組,二者的區別在於Series對象的索引是顯式的,數組是隱式的。 通式: pd.Series(data, index = index) 引入NumPy模塊和Pandas模塊 通過Num
相關文章
相關標籤/搜索