Skip to content

Commit 9b4c5e1

Browse files
committed
chore: using to import pyarrow and changing import order
1 parent 2d07c53 commit 9b4c5e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/sql.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2343,8 +2343,8 @@ def to_sql(
23432343
engine : {'auto', 'sqlalchemy'}, default 'auto'
23442344
Raises NotImplementedError if not set to 'auto'
23452345
"""
2346+
pa = import_optional_dependency("pyarrow")
23462347
from adbc_driver_manager import Error
2347-
import pyarrow as pa
23482348

23492349
if index_label:
23502350
raise NotImplementedError(

0 commit comments

Comments
 (0)