Python, pandas: how to sort dataframe by index// Merge two dataframes by index

pd.concat([df1, df2], axis=1)
df.sort_index(inplace=True)

https://stackoverflow.com/questions/40468069/merge-two-dataframes-by-index
https://stackoverflow.com/questions/22211737/python-pandas-how-to-sort-dataframe-by-index
posted @ 2018-11-22 12:56  清风oo  阅读(424)  评论(0编辑  收藏  举报