ENH: make _explode
a method of the ExtensionArray
interface
#54833
Labels
Enhancement
ExtensionArray
Extending pandas with custom dtypes or arrays.
Reshaping
Concat, Merge/Join, Stack/Unstack, Explode
Feature Type
Adding new functionality to pandas
Changing existing functionality in pandas
Removing existing functionality in pandas
Problem Description
In awkward-pandas we've had a user expect
explode
to work for them; see intake/akimbo#38I see in #53602
Series.explode
support for extension types has been added specifically to PyArrow list types. We'd like to be able to supportexplode
with ourawkward
extension type. Therefore this feature request is to make anExtensionArray._explode
method, with a default that provides the same behavior already provided bySeries.explode
for non object dtypes (that is, a copy).Feature Description
Issue will come with accompanying PR.
Alternative Solutions
None to my knowledge
Additional Context
No response
The text was updated successfully, but these errors were encountered: