Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary if data.ndim > 1 in transformers #698

Open
fealho opened this issue Aug 29, 2023 · 0 comments
Open

Remove unnecessary if data.ndim > 1 in transformers #698

fealho opened this issue Aug 29, 2023 · 0 comments

Comments

@fealho
Copy link
Member

fealho commented Aug 29, 2023

Problem Description

Many transformers check if the number of dimensions of the input is 1, but the input should always be a Series, so this check should be unnecessary.

Expected behavior

In the transformers, remove any unnecessary lines like the ones below

if data.ndim > 1:

Note: ensure this doesn't break any of our other libraries.

@fealho fealho changed the title Remove check for number of dimensions in transformers Remove unnecessary if data.ndim > 1 in transformers Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant