Skip to content

Commit

Permalink
Backport PR #55427 on branch 2.1.x (DOC: Remove outdated docs about N…
Browse files Browse the repository at this point in the history
…umPy's broadcasting) (#55896)

Backport PR #55427: DOC: Remove outdated docs about NumPy's broadcasting

Co-authored-by: cobalt <61329810+RedGuy12@users.noreply.github.com>
  • Loading branch information
meeseeksmachine and RedGuy12 committed Nov 9, 2023
1 parent 569f904 commit de8af3c
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions doc/source/user_guide/basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -408,20 +408,6 @@ raise a ValueError:
pd.Series(['foo', 'bar', 'baz']) == pd.Series(['foo'])
Note that this is different from the NumPy behavior where a comparison can
be broadcast:

.. ipython:: python
np.array([1, 2, 3]) == np.array([2])
or it can return False if broadcasting can not be done:

.. ipython:: python
:okwarning:
np.array([1, 2, 3]) == np.array([1, 2])
Combining overlapping data sets
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down

0 comments on commit de8af3c

Please sign in to comment.