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 0fd1c2b21d5cd..7fff7725d5ad4 100644 --- a/pandas/_libs/missing.pyx +++ b/pandas/_libs/missing.pyx @@ -371,6 +371,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 65db0e05f859c..9eb253ad52c95 100644 --- a/pandas/_libs/tslibs/nattype.pyx +++ b/pandas/_libs/tslibs/nattype.pyx @@ -341,6 +341,8 @@ class NaTType(_NaT): 1 NaT """ + __module__ = "pandas" + def __new__(cls): cdef _NaT base