how to combine two dataframes in pandas at same index code example
Example: pandas combine two data frames with same index and same columns
pd.merge(df1, df2, left_index=True, right_index=True, how='outer')
pd.merge(df1, df2, left_index=True, right_index=True, how='outer')