-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
ENH: add ExtensionArray.to_numpy to have control over conversion to numpy array #30322
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 15 commits
a3dab78
8e669fc
fd1c04a
92f14d2
bf9592c
278447d
1da45bd
3889986
6832f42
e8460ac
f1e34c6
1624712
34307ca
2b43793
afc7350
008b54f
91a4639
fff20a0
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 |
---|---|---|
|
@@ -2232,7 +2232,8 @@ def maybe_convert_objects(ndarray[object] objects, bint try_float=0, | |
return objects | ||
|
||
|
||
_no_default = object() | ||
# Note: _no_default is exported to the public API in pandas.api.extensions | ||
_no_default = object() #: Sentinel indicating the default value. | ||
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. Should we rename this to 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. I thought about it, don't have a strong opinion. 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. i agree we should just rename this 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. note that we have a number of type we use object as the marker (so should change those in a followup) |
||
|
||
|
||
@cython.boundscheck(False) | ||
|
Uh oh!
There was an error while loading. Please reload this page.