Skip to content

Commit f60bf95

Browse files
committed
doc: definition of a scalar
1 parent 37f0532 commit f60bf95

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pandas/core/ops/docstrings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ def make_flex_doc(op_name: str, typ: str) -> str:
435435
436436
Parameters
437437
----------
438-
other : Series or scalar value
438+
other : Series or scalar value (that can be the element of a Series)
439439
The second operand in this operation.
440440
level : int or name
441441
Broadcast across a level, matching Index values on the

pandas/core/series.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6072,7 +6072,7 @@ def eq(
60726072
60736073
Parameters
60746074
----------
6075-
other : Series or scalar value
6075+
other : Series or scalar value (that can be the element of a Series)
60766076
The second operand in this operation.
60776077
level : int or name
60786078
Broadcast across a level, matching Index values on the
@@ -6141,7 +6141,7 @@ def le(self, other, level=None, fill_value=None, axis: Axis = 0) -> Series:
61416141
61426142
Parameters
61436143
----------
6144-
other : Series or scalar value
6144+
other : Series or scalar value (that can be the element of a Series)
61456145
The second operand in this operation.
61466146
level : int or name
61476147
Broadcast across a level, matching Index values on the
@@ -6213,7 +6213,7 @@ def ge(self, other, level=None, fill_value=None, axis: Axis = 0) -> Series:
62136213
62146214
Parameters
62156215
----------
6216-
other : Series or scalar value
6216+
other : Series or scalar value (that can be the element of a Series)
62176217
The second operand in this operation.
62186218
level : int or name
62196219
Broadcast across a level, matching Index values on the

0 commit comments

Comments
 (0)