Skip to content

NaT issue #55

@Belightar

Description

@Belightar

Greetings, @shawnbrown

to be short,

my pd.Series is like:
Date
0 NaT
1 NaT
2 NaT
3 2010-12-31
4 2010-12-31
Name: Date, dtype: datetime64[ns]
the type of NaT is:
<class 'pandas._libs.tslibs.nattype.NaTType'>
when I use the following code:

with accepted(Extra(pd.NaT)):
validate(data, requirement)

I found that it the NaTs can not be recognized. I tried many types of Extra and tried using function but all faild.

here I need your help. Thanks for your work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions