Skip to content

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

Open
@rburghol

Description

@rburghol

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions