Skip to content

Commit 9606b8e

Browse files
Update pandas/core/indexes/base.py
Co-authored-by: Simon Hawkins <[email protected]>
1 parent 9b6b2fc commit 9606b8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/indexes/base.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2249,8 +2249,8 @@ def is_integer(self) -> bool:
22492249
False
22502250
"""
22512251
warnings.warn(
2252-
f"{type(self).__name__}.is_integer is deprecated."
2253-
"Use pandas.api.types.is_integer_dtype instead",
2252+
f"{type(self).__name__}.is_integer is deprecated. "
2253+
"Use pandas.api.types.is_integer_dtype instead.",
22542254
FutureWarning,
22552255
stacklevel=find_stack_level(),
22562256
)

0 commit comments

Comments
 (0)