-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
error: No overload variant of "DataFrame" matches argument types "Sequence[int]" [call-overload] #384
Comments
The types for AnyArrayLike: TypeAlias = Union[Index, Series, np.ndarray]
Axes: TypeAlias = Union[AnyArrayLike, list, dict, range] We left out Because of this unfortunate aspect of python typing, we avoid using |
Seems like this is another case where the absence of a NOT type bites. Potentially one could discuss allowing at least |
Sounds like a good way forward for all of the places where we really want |
That would exclude things that should be included though, |
Mostly we are using |
@gandhis1 using |
I think that if we add We just can't support |
If the annotation
Sequence[int]
is removed, the file parses.Please complete the following information:
The text was updated successfully, but these errors were encountered: