-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
TYP: type excel util module #45014
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
TYP: type excel util module #45014
Conversation
phofl
commented
Dec 22, 2021
- Ensure all linting tests pass, see here for how to run them
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.
Feel free to ignore the TypeVar comments, I'm not sure whether they will be useful
one more rebase pls |
Done |
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.
lgtm small comment
|
||
|
||
def maybe_convert_usecols( | ||
usecols: str | list[int] | list[str] | usecols_func | None, |
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.
prob can share this with the parsers (followon, maybe put in _typing.py)?
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.
The configs there are a bit different unfortunately. Don't think we can share efficiently