Skip to content

Add drop_columns to dataframe api #11007

@Omega359

Description

@Omega359

Is your feature request related to a problem or challenge?

The dataframe api has select_columns but does not have drop_columns. Having a drop_columns function would add ease of use to the datafusion api and would mirror other common dataframe apis that have this functionality

Describe the solution you'd like

Anew function drop_columns(self, columns: &[&str]) -> Result<DataFrame> added to the dataframe api

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions