Skip to content

DEPR: use_inf_as_null option not deprecated but removed #17115

Closed
@jorisvandenbossche

Description

@jorisvandenbossche

From PR #16972, apparently the old config was forgot to added back: https://github.com/pandas-dev/pandas/pull/16972/files#diff-bf1e3451cec528f37a6950523e97dfe9L410

In [24]: pd.set_option('use_inf_as_null', True)
...
OptionError: "No such keys(s): 'use_inf_as_null'"

In [25]: pd.options.mode.use_inf_as_null
...
KeyError: 'use_inf_as_null'

Those raise a deprecation warning instead

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugDeprecateFunctionality to remove in pandas

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions