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

Raise error on empty frequent itemset to association_rules #843

Merged
merged 2 commits into from
Sep 2, 2021

Conversation

rasbt
Copy link
Owner

@rasbt rasbt commented Sep 2, 2021

The frequent_patterns.association_rules now raises a ValueError if an empty frequent itemset DataFrame is passed.

Fixes #496

@pep8speaks
Copy link

pep8speaks commented Sep 2, 2021

Hello @rasbt! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2021-09-02 17:27:07 UTC

@rasbt rasbt merged commit bf17ad5 into master Sep 2, 2021
@rasbt rasbt deleted the assoc-rule-warning branch May 11, 2022 22:51
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

Successfully merging this pull request may close these issues.

ValueError: cannot call vectorize on size 0 inputs unless otypes is set
2 participants