Skip to content

BUG/DEPR: Fix unwanted warnings from the Series(Index[datetime objects]) deprecation #38182

Closed
@jorisvandenbossche

Description

@jorisvandenbossche

See #36697 (comment) and #37193 (comment)

Due to the Index.is_all_dates + Series(Index[datetime object]) deprecation warnings, there are several code examples that are not using this attribute or constructor method directly, that still cause this warning (from internal pandas code, without direct control over this by the user).

Users should not see unrelated deprecation warnings from the internals of pandas that they can't do anything about themselves, so IMO we should either fix those for 1.2, or delay the deprecationg for 1.3

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