Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-fong committed Aug 16, 2024
1 parent 16e8f51 commit 8f97233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skpro/datatypes/_adapter/polars.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def check_polars_frame(obj, return_metadata=False, var_name="obj", lazy=False):
if _req("is_univariate", return_metadata):
obj_width = obj.width
for col in obj.columns:
if col.startswith("__index__"):
if "__index__" in col:
obj_width -= 1
metadata["is_univariate"] = obj_width == 1
if _req("n_instances", return_metadata):
Expand Down

0 comments on commit 8f97233

Please sign in to comment.