Skip to content

Commit

Permalink
updated to from_pandas
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-fong committed Aug 14, 2024
1 parent 17c3126 commit fc46414
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion skpro/datatypes/_adapter/polars.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit fc46414

Please sign in to comment.