diff --git a/doc/source/reference/missing_value.rst b/doc/source/reference/missing_value.rst index 3bf22aef765d1..c4eac220be279 100644 --- a/doc/source/reference/missing_value.rst +++ b/doc/source/reference/missing_value.rst @@ -11,7 +11,6 @@ NA is the way to represent missing values for nullable dtypes (see below): .. autosummary:: :toctree: api/ - :template: autosummary/class_without_autosummary.rst NA @@ -19,6 +18,5 @@ NaT is the missing value for timedelta and datetime data (see below): .. autosummary:: :toctree: api/ - :template: autosummary/class_without_autosummary.rst NaT diff --git a/pandas/_libs/missing.pyx b/pandas/_libs/missing.pyx index 164a47cb5adb7..5fbd5be475905 100644 --- a/pandas/_libs/missing.pyx +++ b/pandas/_libs/missing.pyx @@ -393,6 +393,7 @@ class NAType(C_NAType): >>> True | pd.NA True """ + __module__ = "pandas" _instance = None diff --git a/pandas/_libs/tslibs/nattype.pyx b/pandas/_libs/tslibs/nattype.pyx index 2657b1b9d197b..3e22c13e37f76 100644 --- a/pandas/_libs/tslibs/nattype.pyx +++ b/pandas/_libs/tslibs/nattype.pyx @@ -372,6 +372,8 @@ class NaTType(_NaT): 1 NaT """ + __module__ = "pandas" + def __new__(cls): cdef _NaT base