Below method help developer to merge multiple dataframe with same number of columns into single dataframe
Assume we have dataframes : r1 and r2, and we need to ignore null records then you can use below command with dropna().
merged_df = pd.concat([r1, r2], axis=0).dropna()
merged_df.to_csv('output.csv', index=False, doublequote=False)
No comments:
Post a Comment