Skip to content

Commit 86abadb

Browse files
committed
move import to top of file
1 parent f37e111 commit 86abadb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/config_init.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
is_text,
2929
)
3030

31+
from pandas.errors import Pandas4Warning
32+
3133
# compute
3234

3335
use_bottleneck_doc = """
@@ -907,7 +909,5 @@ def register_converter_cb(key: str) -> None:
907909
validator=is_one_of_factory([True, False]),
908910
)
909911

910-
from pandas.errors import Pandas4Warning
911-
912912
# GH#59502
913913
cf.deprecate_option("future.no_silent_downcasting", Pandas4Warning)

0 commit comments

Comments
 (0)