Skip to content

doc: DataFrame.apply can return several columns #5299

Closed
@ohadle

Description

@ohadle

Might be worth mentioning in the docs that if "func" returns a Series, the result is a DataFrame.
It took me a while to figure this out (tried with tuples and a dict).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions