Skip to content

Commit a79e2a0

Browse files
cobaltt7meeseeksmachine
authored andcommitted
Backport PR pandas-dev#55427: DOC: Remove outdated docs about NumPy's broadcasting
1 parent 569f904 commit a79e2a0

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)