From fc464142cbd0d6f260962973a9664c06d611c3f5 Mon Sep 17 00:00:00 2001 From: julian fong Date: Wed, 14 Aug 2024 11:57:35 -0400 Subject: [PATCH] updated to from_pandas --- skpro/datatypes/_adapter/polars.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/skpro/datatypes/_adapter/polars.py b/skpro/datatypes/_adapter/polars.py index ee6e2fd1..42bc8ba3 100644 --- a/skpro/datatypes/_adapter/polars.py +++ b/skpro/datatypes/_adapter/polars.py @@ -107,7 +107,12 @@ def convert_pandas_to_polars_with_index( obj.reset_index() obj.rename(columns={"index": "__index__"}) - pl_df = from_pandas(obj, schema_overrides, rechunk, nan_to_null) + pl_df = from_pandas( + data=obj, + schema_overrides=schema_overrides, + rechunk=rechunk, + nan_to_null=nan_to_null, + ) if lazy: pl_df = pl_df.lazy()