numpy min error #1126
Unanswered
dineshbvadhia
asked this question in
Q&A
numpy min error
#1126
Replies: 1 comment 1 reply
-
This is more of a numpy-specific question, but the reason why this doesn't work is that |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The function takes a numpy vector and performs a numpy min operation on it but mypy generates the error:
error: Item "_SupportsArray[dtype[Any]]" of "Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], bool, int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]" has no attribute "min"
Beta Was this translation helpful? Give feedback.
All reactions