Skip to content

Default dtype of empty Series: DeprecationWarning -> FutureWarning in 1.1 #30017

Closed
@SaturnFromTitan

Description

@SaturnFromTitan

Given that this can have some impact on libraries (see how often we used it ourselves in pandas), meaning that their users will start to see warnings they cannot solve, should be start with making this a DeprecationWarning instead of FutureWarning?

Given that this won't be actually changed in 1.0 (but only start raising a warning), we have some time to change it to a FutureWarning in a later release.

I guess we could have DeprecationWarning for a single version, then change to FutureWarning to give libraries a chance to change. I feel these are ignored as well by the downstream as they don't see them by-default (we in fact tend to ignore numpy ones :->)

@SaturnFromTitan let's change this and open an issue for the 1.1 milestone (let me create it) to change to a FutureWarning

Originally posted by @jreback in #29405 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    DeprecateFunctionality to remove in pandas

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions