Skip to content

Commit

Permalink
Update pandas/core/indexes/base.py
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Hawkins <simonjayhawkins@gmail.com>
  • Loading branch information
topper-123 and simonjayhawkins committed Jan 12, 2023
1 parent 9b6b2fc commit 9606b8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pandas/core/indexes/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2249,8 +2249,8 @@ def is_integer(self) -> bool:
False
"""
warnings.warn(
f"{type(self).__name__}.is_integer is deprecated."
"Use pandas.api.types.is_integer_dtype instead",
f"{type(self).__name__}.is_integer is deprecated. "
"Use pandas.api.types.is_integer_dtype instead.",
FutureWarning,
stacklevel=find_stack_level(),
)
Expand Down

0 comments on commit 9606b8e

Please sign in to comment.