Skip to content

Commit

Permalink
Declare variable in outer scope
Browse files Browse the repository at this point in the history
  • Loading branch information
Kei committed Apr 25, 2024
1 parent 612d7d0 commit 3b6696b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pandas/core/dtypes/cast.py
Expand Up @@ -1061,6 +1061,7 @@ def convert_dtypes(
np.dtype, or ExtensionDtype
"""
inferred_dtype: str | DtypeObj
orig_inferred_dtype = None

if (
convert_string or convert_integer or convert_boolean or convert_floating
Expand Down

0 comments on commit 3b6696b

Please sign in to comment.