SyntaxFix
Write A Post
Hire A Developer
Questions
If you have a data frame df and want to add a list new_list as a new row to df, you can simply do:
df
new_list
df.loc[len(df)] = new_list
If you want to add a new data frame new_df under data frame df, then you can use:
new_df
df.append(new_df)