-
- Notifications
You must be signed in to change notification settings - Fork 19.2k
Closed
Labels
CleanInternalsRelated to non-user accessible pandas implementationRelated to non-user accessible pandas implementation
Milestone
Description
NaTType.__new__ defines _day and _month attributes and sets them to -1. What are these used for?
https://github.com/pandas-dev/pandas/blob/master/pandas/_libs/tslib.pyx#L833
class NaTType(_NaT): """(N)ot-(A)-(T)ime, the time equivalent of NaN""" def __new__(cls): cdef _NaT base base = _NaT.__new__(cls, 1, 1, 1) base._day = -1 base._month = -1 base.value = NPY_NAT Metadata
Metadata
Assignees
Labels
CleanInternalsRelated to non-user accessible pandas implementationRelated to non-user accessible pandas implementation