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 a3429ab commit 7937963Copy full SHA for 7937963
python/datafusion/dataframe.py
@@ -1,11 +1,13 @@
1
from __future__ import annotations
2
3
-from typing import Any, List
+from typing import Any, List, TYPE_CHECKING
4
from datafusion.record_batch import RecordBatchStream
5
from typing_extensions import deprecated
6
-import pyarrow as pa
7
-import pandas as pd
8
-import polars as pl
+
+if TYPE_CHECKING:
+ import pyarrow as pa
9
+ import pandas as pd
10
+ import polars as pl
11
12
from datafusion._internal import DataFrame as DataFrameInternal
13
from datafusion.expr import Expr
0 commit comments