Skip to content

Commit 761ac0e

Browse files
committed
DOC: Clarify list-like vs scalar in Series.eq docstring
1 parent 188b2da commit 761ac0e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/core/series.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6072,7 +6072,9 @@ def eq(
60726072
Parameters
60736073
----------
60746074
other : Series or scalar value
6075-
The second operand in this operation.
6075+
The second operand in this operation. Only `np.ndarray`, `list`, `tuple`,
6076+
and `Series` are considered "list-like" by pandas. All other types will
6077+
be treated as scalar values.
60766078
level : int or name
60776079
Broadcast across a level, matching Index values on the
60786080
passed MultiIndex level.

0 commit comments

Comments
 (0)