Skip to content

Commit 255285b

Browse files
committed
removing unrelated changes from current branch
1 parent e56dfa7 commit 255285b

File tree

7 files changed

+10
-9
lines changed

7 files changed

+10
-9
lines changed

pandas/core/arrays/interval.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1368,7 +1368,7 @@ def closed(self) -> IntervalClosedType:
13681368
13691369
Returns
13701370
-------
1371-
new_index : %(klass)s
1371+
%(klass)s
13721372
13731373
%(examples)s\
13741374
"""

pandas/core/arrays/sparse/accessor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ def to_coo(self):
316316
317317
Returns
318318
-------
319-
coo_matrix : scipy.sparse.spmatrix
319+
scipy.sparse.spmatrix
320320
If the caller is heterogeneous and contains booleans or objects,
321321
the result will be of dtype=object. See Notes.
322322

pandas/core/dtypes/inference.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def is_number(obj) -> bool:
4343
4444
Returns
4545
-------
46-
is_number : bool
46+
bool
4747
Whether `obj` is a number or not.
4848
4949
See Also

pandas/core/frame.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -8041,7 +8041,8 @@ def update(
80418041
80428042
Returns
80438043
-------
8044-
None : method directly changes calling object
8044+
None
8045+
This method directly changes calling object.
80458046
80468047
Raises
80478048
------

pandas/core/generic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ def set_axis(
724724
725725
Returns
726726
-------
727-
renamed : %(klass)s
727+
%(klass)s
728728
An object of type %(klass)s.
729729
730730
See Also

pandas/core/groupby/generic.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ def filter(self, func, dropna: bool = True, *args, **kwargs):
540540
541541
Returns
542542
-------
543-
filtered : Series
543+
Series
544544
545545
Notes
546546
-----
@@ -1596,7 +1596,7 @@ def filter(self, func, dropna: bool = True, *args, **kwargs):
15961596
15971597
Returns
15981598
-------
1599-
filtered : DataFrame
1599+
DataFrame
16001600
16011601
Notes
16021602
-----

pandas/core/groupby/groupby.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ class providing the base-class of operations.
372372
373373
Returns
374374
-------
375-
object : the return type of `func`.
375+
the return type of `func`.
376376
377377
See Also
378378
--------
@@ -774,7 +774,7 @@ def get_group(self, name, obj=None) -> DataFrame | Series:
774774
775775
Returns
776776
-------
777-
group : same type as obj
777+
same type as obj
778778
"""
779779
if obj is None:
780780
obj = self._selected_obj

0 commit comments

Comments
 (0)