Skip to content

Commit 2560788

Browse files
Fix warning typo (#62583)
1 parent e98c745 commit 2560788

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/arrays/string_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def __init__(
172172
warnings.warn(
173173
"The 'pyarrow_numpy' storage option name is deprecated and will be "
174174
'removed in pandas 3.0. Use \'pd.StringDtype(storage="pyarrow", '
175-
"na_value-np.nan)' to construct the same dtype.\nOr enable the "
175+
"na_value=np.nan)' to construct the same dtype.\nOr enable the "
176176
"'pd.options.future.infer_string = True' option globally and use "
177177
'the "str" alias as a shorthand notation to specify a dtype '
178178
'(instead of "string[pyarrow_numpy]").',

0 commit comments

Comments
 (0)