File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -377,6 +377,7 @@ class NAType(C_NAType):
377
377
"""
378
378
379
379
_instance = None
380
+ __module__ = " pandas"
380
381
381
382
def __new__ (cls , *args , **kwargs ):
382
383
if NAType._instance is None :
Original file line number Diff line number Diff line change @@ -1828,7 +1828,11 @@ default 'raise'
1828
1828
@property
1829
1829
def tzinfo(self ) -> None:
1830
1830
return None
1831
-
1831
+
1832
+ @property
1833
+ def __module__(self ) -> str:
1834
+ return "pandas"
1835
+
1832
1836
def as_unit(self , str unit , bint round_ok = True ) -> "NaTType":
1833
1837
"""
1834
1838
Convert the underlying int64 representation to the given unit.
@@ -1868,6 +1872,7 @@ default 'raise'
1868
1872
1869
1873
1870
1874
c_NaT = NaTType() # C-visible
1875
+ c_NaT.__module__ = " pandas"
1871
1876
NaT = c_NaT # Python-visible
1872
1877
1873
1878
You can’t perform that action at this time.
0 commit comments