Skip to content

keep consistency in calling to_csv either dataframe or series #14054

Closed
@FrankMN

Description

@FrankMN

When I call to_csv of dataframe object, I am not required to explicitly set path parameter. The default one is None and will return a string. I thought the same thing for series object. This time the path parameter becomes explicitly required. I wonder if it is better to keep consistency between them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    IO CSVread_csv, to_csv

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions