Skip to content

Commit cfd5d36

Browse files
committed
removing unrelated changes from pull request
1 parent 434964d commit cfd5d36

File tree

3 files changed

+11
-2433
lines changed

3 files changed

+11
-2433
lines changed

pandas/core/dtypes/inference.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def is_number(obj) -> bool:
4343
4444
Returns
4545
-------
46-
bool
46+
is_number : bool
4747
Whether `obj` is a number or not.
4848
4949
See Also
@@ -113,7 +113,7 @@ def is_file_like(obj) -> bool:
113113
114114
Returns
115115
-------
116-
is_file_like : bool
116+
bool
117117
Whether `obj` has file-like properties.
118118
119119
Examples

pandas/core/generic.py

+9-9
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ def swapaxes(
763763
764764
Returns
765765
-------
766-
y : same as input
766+
same as input
767767
"""
768768
i = self._get_axis_number(axis1)
769769
j = self._get_axis_number(axis2)
@@ -3712,7 +3712,7 @@ def take(self: NDFrameT, indices, axis: Axis = 0, **kwargs) -> NDFrameT:
37123712
37133713
Returns
37143714
-------
3715-
taken : same type as caller
3715+
same type as caller
37163716
An array-like containing the elements taken from the object.
37173717
37183718
See Also
@@ -4164,7 +4164,7 @@ def get(self, key, default=None):
41644164
41654165
Returns
41664166
-------
4167-
value : same type as items contained in object
4167+
same type as items contained in object
41684168
41694169
Examples
41704170
--------
@@ -5730,7 +5730,7 @@ def pipe(
57305730
57315731
Returns
57325732
-------
5733-
object : the return type of ``func``.
5733+
the return type of ``func``.
57345734
57355735
See Also
57365736
--------
@@ -6024,7 +6024,7 @@ def astype(
60246024
60256025
Returns
60266026
-------
6027-
casted : same type as caller
6027+
same type as caller
60286028
60296029
See Also
60306030
--------
@@ -6210,7 +6210,7 @@ def copy(self: NDFrameT, deep: bool_t | None = True) -> NDFrameT:
62106210
62116211
Returns
62126212
-------
6213-
copy : Series or DataFrame
6213+
Series or DataFrame
62146214
Object type matches caller.
62156215
62166216
Notes
@@ -6333,7 +6333,7 @@ def infer_objects(self: NDFrameT, copy: bool_t = True) -> NDFrameT:
63336333
63346334
Returns
63356335
-------
6336-
converted : same type as input object
6336+
same type as input object
63376337
63386338
See Also
63396339
--------
@@ -10630,7 +10630,7 @@ def pct_change(
1063010630
1063110631
Returns
1063210632
-------
10633-
chg : Series or DataFrame
10633+
Series or DataFrame
1063410634
The same type as the calling object.
1063510635
1063610636
See Also
@@ -11649,7 +11649,7 @@ def first_valid_index(self) -> Hashable | None:
1164911649
1165011650
Returns
1165111651
-------
11652-
scalar : type of index
11652+
type of index
1165311653
1165411654
Notes
1165511655
-----

0 commit comments

Comments
 (0)