chore(python): turn off lazy frame ingestion (#821)

This commit is contained in:
Chang She
2024-01-16 19:11:16 -08:00
committed by Weston Pace
parent ac3d95ec34
commit dbc3515d96

View File

@@ -72,7 +72,7 @@ def _sanitize_data(
meta = data.schema.metadata if data.schema.metadata is not None else {}
meta = {k: v for k, v in meta.items() if k != b"pandas"}
data = data.replace_schema_metadata(meta)
elif pl is not None and isinstance(data, (pl.DataFrame, pl.LazyFrame)):
elif pl is not None and isinstance(data, pl.DataFrame):
data = data.to_arrow()
if isinstance(data, pa.Table):