Skip to content

Commit 0865ed0

Browse files
committed
removing unrelated changes
1 parent cfd5d36 commit 0865ed0

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

pandas/core/dtypes/inference.py

+5-5
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
@@ -141,7 +141,7 @@ def is_re(obj) -> bool:
141141
142142
Returns
143143
-------
144-
is_regex : bool
144+
bool
145145
Whether `obj` is a regex pattern.
146146
147147
Examples
@@ -164,7 +164,7 @@ def is_re_compilable(obj) -> bool:
164164
165165
Returns
166166
-------
167-
is_regex_compilable : bool
167+
bool
168168
Whether `obj` can be compiled as a regex pattern.
169169
170170
Examples
@@ -270,7 +270,7 @@ def is_dict_like(obj) -> bool:
270270
271271
Returns
272272
-------
273-
is_dict_like : bool
273+
bool
274274
Whether `obj` has dict-like properties.
275275
276276
Examples
@@ -302,7 +302,7 @@ def is_named_tuple(obj) -> bool:
302302
303303
Returns
304304
-------
305-
is_named_tuple : bool
305+
bool
306306
Whether `obj` is a named tuple.
307307
308308
Examples

pandas/core/indexes/multi.py

+2
Original file line numberDiff line numberDiff line change
@@ -2864,7 +2864,9 @@ def get_loc_level(self, key, level: IndexLabel = 0, drop_level: bool = True):
28642864
-------
28652865
tuple
28662866
A 2-tuple where the elements :
2867+
28672868
Element 0: int, slice object or boolean array.
2869+
28682870
Element 1: The resulting sliced multiindex/index. If the key
28692871
contains all levels, this will be ``None``.
28702872

pandas/core/strings/accessor.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1880,7 +1880,7 @@ def encode(self, encoding, errors: str = "strict"):
18801880
18811881
Returns
18821882
-------
1883-
encoded : Series/Index of objects
1883+
Series/Index of objects
18841884
"""
18851885
result = self._data.array._str_encode(encoding, errors)
18861886
return self._wrap_result(result, returns_string=False)
@@ -2767,7 +2767,7 @@ def normalize(self, form):
27672767
27682768
Returns
27692769
-------
2770-
normalized : Series/Index of objects
2770+
Series/Index of objects
27712771
"""
27722772
result = self._data.array._str_normalize(form)
27732773
return self._wrap_result(result)

0 commit comments

Comments
 (0)