Skip to content

Unify argument conventions #2062

Closed
Closed
@jseabold

Description

@jseabold

I know how hard it can be to stick to conventions, but it might be nice to try to unify arguments that do similar things. For example, the argument to select/name columns is not consistent. I realize it's a bit difficult since columns usually means labels and there's an axis argument. I don't know to what extent it's feasible because of this, but maybe all of these should be column(s)? Or even name(s) since this doesn't imply an axis but can be inferred from context when there's no axis argument. The few that come to mind since I just used them.

dropna -- subset
drop_duplicates -- cols
DataFrame -- columns
Series -- name

Just a thought.

Metadata

Metadata

Assignees

No one assigned

    Labels

    IdeasLong-Term Enhancement Discussions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions