Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JamieAllen1 opened this issue Apr 12, 2023 · 0 comments
Open

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

JamieAllen1 opened this issue Apr 12, 2023 · 0 comments

Comments

@JamieAllen1
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant