-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
CLN: avoid catching Exception in _choose_path #28205
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
Conversation
If you are deep diving on this any chance you can add a docstring for func to help future readers? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor nit but otherwise lgtm - I think this certainly reads nicer
if not isinstance(res_fast, DataFrame): | ||
return path, res | ||
|
||
if not res_fast.columns.equals(group.columns): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add this condition to the check above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for coverage purposes Id rather leave them separate. i.e. i want to be able to see that both cases are reached
lgtm. @WillAyd ? |
Thanks @jbrockmendel |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff