Skip to content

Commit

Permalink
removed duplicative code
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-fong committed Aug 14, 2024
1 parent fc46414 commit ae9ee7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skpro/datatypes/_table/_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def convert_pandas_to_polars_lazy(obj: pd.DataFrame, store=None):
raise TypeError("input is not a pd.DataFrame")
obj = convert_pandas_to_polars_with_index(obj, lazy=True)

return pl.LazyFrame(obj)
return obj

def convert_polars_eager_to_lazy(obj: pl.DataFrame, store=None) -> pl.LazyFrame:
if not isinstance(obj, pl.DataFrame):
Expand Down

0 comments on commit ae9ee7b

Please sign in to comment.