Skip to content

Commit

Permalink
Backport PR pandas-dev#55911: DOC: convert outdated example of NumPy'…
Browse files Browse the repository at this point in the history
…s broadcasting to literal code block
  • Loading branch information
jorisvandenbossche authored and meeseeksmachine committed Nov 10, 2023
1 parent 1691a51 commit 511b5f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/source/whatsnew/v0.17.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -726,10 +726,10 @@ be broadcast:
or it can return False if broadcasting can not be done:

.. ipython:: python
:okwarning:
.. code-block:: ipython
np.array([1, 2, 3]) == np.array([1, 2])
In [11]: np.array([1, 2, 3]) == np.array([1, 2])
Out[11]: False
Changes to boolean comparisons vs. None
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down

0 comments on commit 511b5f9

Please sign in to comment.