-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Update type hints to python3 style (non-array files) #25802
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
Changes from 8 commits
aa19aa4
014c48e
5e991b6
0efb21d
d2a542b
1341a1e
1e6e679
13fc9ca
3c07c5e
c774e4a
a5fd652
dcabf97
75ba127
76f259e
70fe87e
ce92ce8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3632,8 +3632,7 @@ def values(self): | |
return self._data.view(np.ndarray) | ||
|
||
@property | ||
def _values(self): | ||
# type: () -> Union[ExtensionArray, Index, np.ndarray] | ||
def _values(self) -> Union[ExtensionArray, 'Index', np.ndarray]: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is Index not a valid type here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Because it's used inside the Index class itself, |
||
# TODO(EA): remove index types as they become extension arrays | ||
""" | ||
The best array representation. | ||
|
Uh oh!
There was an error while loading. Please reload this page.