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

len(formulae) and X.shape[0] don't match when certain formulas are skipped #12

Closed
sgbaird opened this issue Feb 11, 2022 · 1 comment
Closed

Comments

@sgbaird
Copy link

sgbaird commented Feb 11, 2022

df.iloc[1]["formula"] = "Og" # make sure at least one gets skipped
X, y, formulae, skipped = generate_features(df)
assert X.shape[0] == len(formulae)
@sgbaird
Copy link
Author

sgbaird commented Feb 11, 2022

Nvm, it was something else I was doing... (note, this would be less likely to happen based on fixing the extend_features flag #10)

@sgbaird sgbaird closed this as completed Feb 11, 2022
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