sa-mw-dach / manuela-dev

Manuela Demo Apps
Apache License 2.0
13 stars 96 forks source link

Pandas 2.0 has removed deprecated "dataframe.append" #96

Open JamieAllen1 opened 1 year ago

JamieAllen1 commented 1 year ago

In the file "Anomaly-Detection-simple-ML-Training.ipynb" you use the dataframe.append method in the line: df_epis = df_epis.append(df_row, ignore_index=True)

With pandas 2.0, they have removed this deprecated method in favour of the "pandas.concat" method.

The following code snippet shows the modified code to replace this function:

df_epis = pd.concat([df_epis, df_row], ignore_index=True)