Skip to content

Commit 74ae910

Browse files
Revert "DOC: Fixed documented value of pd.NA ** 0 (#31005)" (#31014)
This reverts commit da04c9a.
1 parent da04c9a commit 74ae910

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

doc/source/user_guide/missing_data.rst

+6-3
Original file line numberDiff line numberDiff line change
@@ -825,10 +825,13 @@ For example, ``pd.NA`` propagates in arithmetic operations, similarly to
825825
There are a few special cases when the result is known, even when one of the
826826
operands is ``NA``.
827827

828-
.. ipython:: python
829828

830-
pd.NA ** 0
831-
1 ** pd.NA
829+
================ ======
830+
Operation Result
831+
================ ======
832+
``pd.NA ** 0`` 0
833+
``1 ** pd.NA`` 1
834+
================ ======
832835

833836
In equality and comparison operations, ``pd.NA`` also propagates. This deviates
834837
from the behaviour of ``np.nan``, where comparisons with ``np.nan`` always

0 commit comments

Comments
 (0)