Skip to content

API: Consistency in prefix / prefix_sep #8141

Open
@TomAugspurger

Description

@TomAugspurger

Currently get_dummies has both prefix and prefix_sep parameters. This is inconsistent with the rest of pandas prefix / suffix arguments that have you included the separator in the pre/suffix.

  • read_csv
  • join
    probably others.

We should add a warning to get_dummies to have users change prefix_sep to '' and include the separators in prefix.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions