df.merge only includes rows with matching values in both DataFrames. If you want to include all rows from both DataFrames, use how='outer'.
My previous tips on pandas.
df.merge only includes rows with matching values in both DataFrames. If you want to include all rows from both DataFrames, use how='outer'.
My previous tips on pandas.