-
Notifications
You must be signed in to change notification settings - Fork 364
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
fix the incorrect list of ends for _cat_ranges #1402
Conversation
(also in |
Whilst you are right, the inputs are expected to be lists. This functions should have a docstring saying so, and tests making sure that it works. Obviously, this has been somewhat an experimental method, but it should be graduated to full use. |
019f553
to
7be37a1
Compare
Hi @martindurant, thanks for pointing out another place I missed. I also added it to the changes and wrote some docstrings for them. Please let me know if I need to make more changes or feel free to help revise them. Thanks. |
Hi @martindurant, thanks for reviewing. I also trimmed the trailing whitespace complained by lint. I'm sorry I didn't notice it before. |
Thank you @AlbertXingZhang |
Thanks for merging, @martindurant🎉 |
I think the list of "ends" should come from the argument "ends" if it is not iterable for the function "_cat_ranges".