pywhy-stats
pywhy-stats copied to clipboard
Fix the power_divergence handling of categorical features as `str`
As brought up in #19, the power_divergence should just take the stance that categorical features can be str
Checklist
- [ ] I have verified that the issue exists against the
mainbranch. - [ ] I have read the relevant section in the contribution guide on reporting bugs.
- [ ] I have checked the issues list for similar or identical bug reports.
- [ ] I have checked the pull requests list for existing proposed fixes.
- [ ] I have checked the CHANGELOG and the commit log to find out if the bug was already fixed in the main branch.
- [ ] I have included in the "Description" section below a traceback from any exceptions related to this bug.
- [ ] I have included in the "Related issues or possible duplicates" section beloew all related issues and possible duplicate issues (If there are none, check this box anyway).
- [ ] I have included in the "Environment" section below the name of the operating system and Python version that I was using when I discovered this bug.
- [ ] I have included in the "Environment" section below the output of
pip freeze. - [ ] I have included in the "Steps to reproduce" section below a minimally reproducible example.
Description
Python traceback:
Related issues or possible duplicates
- None
Environment
OS:
Python version:
Output of pip freeze:
Steps to reproduce
Example source: