Skip to content

Commit 6e198f4

Browse files
meet-vasitameeseeksmachine
authored andcommitted
Backport PR #62313: DOC: Fix NaT and NA API docs
1 parent 9c8bc3e commit 6e198f4

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

doc/source/reference/missing_value.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,12 @@ NA is the way to represent missing values for nullable dtypes (see below):
1111

1212
.. autosummary::
1313
:toctree: api/
14-
:template: autosummary/class_without_autosummary.rst
1514

1615
NA
1716

1817
NaT is the missing value for timedelta and datetime data (see below):
1918

2019
.. autosummary::
2120
:toctree: api/
22-
:template: autosummary/class_without_autosummary.rst
2321

2422
NaT

pandas/_libs/missing.pyx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,7 @@ class NAType(C_NAType):
371371
>>> True | pd.NA
372372
True
373373
"""
374+
__module__ = "pandas"
374375

375376
_instance = None
376377

pandas/_libs/tslibs/nattype.pyx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,8 @@ class NaTType(_NaT):
341341
1 NaT
342342
"""
343343

344+
__module__ = "pandas"
345+
344346
def __new__(cls):
345347
cdef _NaT base
346348

0 commit comments

Comments
 (0)