我有两个系列s1和s2相同(非连续)索引.如何组合s1和s2成为DataFrame中的两列并将其中一个索引保留为第三列?
s1
s2
python series dataframe pandas
dataframe ×1
pandas ×1
python ×1
series ×1