多個Series合併成Dataframe,index不徹底匹配怎麼處理

簡述 好比這兩個數據:web a:svg a=pd.Series([1, 2, 3,], index=[2, 3, 4]) 輸出效果爲:spa 2 1 3 2 4 3 dtype: int64 對應的b:code b=pd.Series([4, 1, 2, 3,], index=[1, 2, 3, 4]) 1 4 2 1 3 2 4 3 dtype: in
相關文章
相關標籤/搜索