8000 Backport PR #55427 on branch 2.1.x (DOC: Remove outdated docs about NumPy's broadcasting) by meeseeksmachine · Pull Request #55896 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

Backport PR #55427 on branch 2.1.x (DOC: Remove outdated docs about NumPy's broadcasting) #55896

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified Diff View
Unified
Diff view
Backport PR #55427: DOC: Remove outdated docs about NumPy's broadcasting
  • Loading branch information
cobaltt7 authored and meeseeksmachine committed Nov 9, 2023
commit a79e2a0bb80c752824f250cb7850422c66fe2d7a
14 changes: 0 additions & 14 deletions doc/source/user_guide/basics.rst
75A0
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