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

deprecated argument errors="ignore" causing voluminous warning #177

Open
rburghol opened this issue Oct 1, 2024 · 0 comments
Open

deprecated argument errors="ignore" causing voluminous warning #177

rburghol opened this issue Oct 1, 2024 · 0 comments

Comments

@rburghol
Copy link
Contributor

rburghol commented Oct 1, 2024

Code:

  • Inside function import_uci(str(hsp2_eq_uci), str(temp_eq_h5file))
  • Warning:
...\src\hsp2\hsp2tools\readUCI.py:171: FutureWarning: errors='ignore' is deprecated and will raise in a future version. Use to_numeric without passing `errors` and catch exceptions explicitly instead
  df = df.apply(pd.to_numeric, errors="ignore")  # todo: 'ignore' is deprecated.

It would surely make running code a bit cleaner. I don't really know the impact of not ignoring errors (other than the obvious) and don't wanna break the code altogether.

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