Skip to content

Allow series outputs for single-column NestedSeries.explode, NestSeriesAccessor.to_flat, NestSeriesAccessor.to_lists results #382

@dougbrn

Description

@dougbrn

Very related to #381

These functions will always return dataframes, but in cases where there's only a single sub-column I think it would be nice to have these return a series instead. Motivated by the deprecation of get_flat_series, there's a performance consequence (see ~50% slowdown in some cases) to using these functions as a replacement that is due to the unnecessary dataframe casting involved in to_flat and/or explode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions