Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 276 Bytes

combine-pandas-dataframes-on-a-index.md

File metadata and controls

9 lines (6 loc) · 276 Bytes

Combine or merge two pandas Dataframes using a index

Reading a json file is very easy.

merged_df = df_1.merge(df_2,left_on='id', right_on='df1_id', how='outer')

More info here.