diff --git a/ibis/backends/sqlite/__init__.py b/ibis/backends/sqlite/__init__.py index de7c386b7e7e..e770cecd72be 100644 --- a/ibis/backends/sqlite/__init__.py +++ b/ibis/backends/sqlite/__init__.py @@ -19,6 +19,7 @@ from ibis.backends import UrlFromPath from ibis.backends.sql import SQLBackend from ibis.backends.sql.compilers.base import C, F +from ibis.backends.sqlite.converter import SQLitePandasData from ibis.backends.sqlite.udf import ignore_nulls, register_all if TYPE_CHECKING: @@ -303,8 +304,6 @@ def _fetch_from_cursor( ) -> pd.DataFrame: import pandas as pd - from ibis.backends.sqlite.converter import SQLitePandasData - df = pd.DataFrame.from_records(cursor, columns=schema.names, coerce_float=True) return SQLitePandasData.convert_table(df, schema)