Skip to content

Commit 3b6696b

Browse files
author
Kei
committed
Declare variable in outer scope
1 parent 612d7d0 commit 3b6696b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: pandas/core/dtypes/cast.py

+1
Original file line numberDiff line numberDiff line change
@@ -1061,6 +1061,7 @@ def convert_dtypes(
10611061
np.dtype, or ExtensionDtype
10621062
"""
10631063
inferred_dtype: str | DtypeObj
1064+
orig_inferred_dtype = None
10641065

10651066
if (
10661067
convert_string or convert_integer or convert_boolean or convert_floating

0 commit comments

Comments
 (0)