Skip to content

consider adding warning message when using polars #178

Description

@jgori-ouistiti

Consider adding a warning message when using polars rather than pandas, possibly in

def get_x_values(data, x) -> set:
if isinstance(data, pd.DataFrame):
if x is None:
return set(data.columns)
return set(data[x].unique())
elif data is not None:
return set([_ for _ in range(len(data))])
else:
return set(x)

Now it exits gracefully, but fails later (in my case in check_order_in_data).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions