Skip to content

Removed options in pandas 2.0 #1083

Closed
@gabemery

Description

@gabemery

The option "use_inf_as_null" used in lstchain/reco/utils.py, line 533, in filter_events

with pd.option_context('mode.use_inf_as_null', True):

was removed in pandas 2.0.0 released recently.

We either want to change this option or use temporarily pandas<2 if other errors are present.

From the pandas 2.0 documentation:
Removed deprecated global option use_inf_as_null in favor of use_inf_as_na (GH17126)

Second removal : Removed deprecated Series.append(), DataFrame.append(), use concat() instead (GH35407)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions