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: futurewarning of concatenation #1

Open
Hafpaf opened this issue Oct 30, 2023 · 0 comments
Open

pandas: futurewarning of concatenation #1

Hafpaf opened this issue Oct 30, 2023 · 0 comments

Comments

@Hafpaf
Copy link
Owner

Hafpaf commented Oct 30, 2023

Error message

/ASR_subtitles/app.py:55: FutureWarning: The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.
  df = pd.concat([df, pd.DataFrame([new_row])], axis=0, ignore_index=True)

A recent upgrade to pandas 2.1.2 from 1.5.2 now presents this warning.

@Hafpaf Hafpaf changed the title pandas: futurewarning of concatonation pandas: futurewarning of concatenation Nov 12, 2023
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