pandas-两个Series拼接合并为一个DataFrame(pd.concat)
a_series = pd.Series(["a", "b", "c"], name="Letters")
another_series = pd.Series([1, 2, 3], name="Numbers")
df = pd.concat([a_series, another_series], axis=1)
#merge `a_series` and `another_series`
print(df)
OUTPUT
Letters Numbers
0 a 1
1 b 2
2 c 3