Skip to content

Commit de8af3c

Browse files
Backport PR #55427 on branch 2.1.x (DOC: Remove outdated docs about NumPy's broadcasting) (#55896)
Backport PR #55427: DOC: Remove outdated docs about NumPy's broadcasting Co-authored-by: cobalt <[email protected]>
1 parent 569f904 commit de8af3c

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

doc/source/user_guide/basics.rst

-14
Original file line numberDiff line numberDiff line change
@@ -408,20 +408,6 @@ raise a ValueError:
408408
409409
pd.Series(['foo', 'bar', 'baz']) == pd.Series(['foo'])
410410
411-
Note that this is different from the NumPy behavior where a comparison can
412-
be broadcast:
413-
414-
.. ipython:: python
415-
416-
np.array([1, 2, 3]) == np.array([2])
417-
418-
or it can return False if broadcasting can not be done:
419-
420-
.. ipython:: python
421-
:okwarning:
422-
423-
np.array([1, 2, 3]) == np.array([1, 2])
424-
425411
Combining overlapping data sets
426412
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
427413

0 commit comments

Comments
 (0)