I have two dataframes (df1
and df2
) with the same columns. I am trying the append the second dataframe to the first one using the following command:
df1.append(df2)
This was working earlier on without any problems, but running the same Jupyter Notebook cell today seems to throw the following error:
AttributeError: 'DataFrame' object has no attribute 'append'
Does anyone know why this is happenning? Has there been any changes in the pandas
package or something to do with any changes in the JupyterLab environment?
Also, the pandas documentation page for the append()
function seems to through a 404 Not Found
error (https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.append.html)