Skip to content

DOC: Removing repeated NA #54821

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Sep 29, 2023
13 changes: 0 additions & 13 deletions doc/source/reference/arrays.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,6 @@ is the missing value for datetime data.

Timestamp

.. autosummary::
:toctree: api/

NaT

Properties
~~~~~~~~~~
.. autosummary::
Expand Down Expand Up @@ -257,11 +252,6 @@ is the missing value for timedelta data.

Timedelta

.. autosummary::
:toctree: api/

NaT

Properties
~~~~~~~~~~
.. autosummary::
Expand Down Expand Up @@ -465,7 +455,6 @@ pandas provides this through :class:`arrays.IntegerArray`.
UInt16Dtype
UInt32Dtype
UInt64Dtype
NA

.. _api.arrays.float_na:

Expand All @@ -484,7 +473,6 @@ Nullable float

Float32Dtype
Float64Dtype
NA

.. _api.arrays.categorical:

Expand Down Expand Up @@ -621,7 +609,6 @@ with a bool :class:`numpy.ndarray`.
:template: autosummary/class_without_autosummary.rst

BooleanDtype
NA


.. Dtype attributes which are manually listed in their docstrings: including
Expand Down
1 change: 1 addition & 0 deletions doc/source/reference/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ are mentioned in the documentation.
options
extensions
testing
missing_value

.. This is to prevent warnings in the doc build. We don't want to encourage
.. these methods.
Expand Down
24 changes: 24 additions & 0 deletions doc/source/reference/missing_value.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{{ header }}

.. _api.missing_value:

==============
Missing values
==============
.. currentmodule:: pandas

NA is the way to represent missing values for nullable dtypes (see below):

.. autosummary::
:toctree: api/
:template: autosummary/class_without_autosummary.rst

NA

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

.. autosummary::
:toctree: api/
:template: autosummary/class_without_autosummary.rst

NaT