Skip to content
Prev Previous commit
Next Next commit
check indent error
  • Loading branch information
yuuun authored Dec 14, 2022
commit ce30d07aa9299d2ee21e132176b8b865af84bca4
10 changes: 5 additions & 5 deletions pandas/core/indexes/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2303,11 +2303,11 @@ def is_floating(self) -> bool:
False
"""
warnings.warn(
f"{type(self).__name__}.is_floating is deprecated."
"Use pandas.api.types.is_float_dtype instead",
FutureWarning,
stacklevel=find_stack_level(),
)
f"{type(self).__name__}.is_floating is deprecated."
"Use pandas.api.types.is_float_dtype instead",
Comment on lines +2304 to +2305
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably could do with a space here.

FutureWarning,
stacklevel=find_stack_level(),
)
return self.inferred_type in ["floating", "mixed-integer-float", "integer-na"]

@final
Expand Down