Skip to content

Add parameters to Triangle.drop() #1052

Description

@genedan

Description

Triangle.drop() can only drop a column at this point. It can be further enhanced by incorporating parameters from the Pandas analogue DataFrame.drop():

Image

There's a lot to be added, we could split responsibility by dividing these into sub-issues.

Is your feature request aligned with the scope of the package?

  • Yes, absolutely!
  • No, but it's still worth discussing.
  • N/A (this request is not a codebase enhancement).

Describe the solution you'd like, or your current workaround.

See sub-issues for examples, but the following parameters should be implemented/expanded.

  • axis
    • allow string assignment
    • enable index dropping
    • enable origin dropping (outer levels)
    • enable development dropping (outer levels)
  • equivalents
    • index
    • columns
    • origin
    • development
  • level
  • errors (low priority)

Do you have any additional supporting notes?

inplace does not need to be implemented, since it produces side-effects, a programming style which has fallen out of favor.

Would you be willing to contribute this ticket?

  • Yes, absolutely!
  • Yes, but I would like some help.
  • No.

Metadata

Metadata

Assignees

Labels

Great First Contribution! 🌱Beginner friendly tickets with narrow scope and huge impact. Perfect to get your feet wet!

Fields

Priority

Medium

Effort

High

Scope

Codebase

Projects

Status
Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions