Skip to content

pd.NaT.date() returns datetime.date(1, 255, 255) #9513

Closed
@s-celles

Description

@s-celles

Hello,

pd.NaT.date() returns datetime.date(1, 255, 255)
that's an odd results
I was expecting None (or something else) because that's really strange to have
date of year "1" in an Excel file

Kind regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    DatetimeDatetime data dtypeError ReportingIncorrect or improved errors from pandas

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions