We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5a60d9 commit be28090Copy full SHA for be28090
pandas/tests/io/test_sql.py
@@ -565,6 +565,8 @@ def drop_table(
565
table_name: str,
566
conn: sqlite3.Connection | sqlalchemy.engine.Engine | sqlalchemy.engine.Connection,
567
):
568
+ import sqlalchemy
569
+
570
if isinstance(conn, sqlite3.Connection):
571
conn.execute(f"DROP TABLE IF EXISTS {sql._get_valid_sqlite_name(table_name)}")
572
conn.commit()
0 commit comments