Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add drop_columns to dataframe api #11007

Closed
Omega359 opened this issue Jun 19, 2024 · 1 comment · Fixed by #11010
Closed

Add drop_columns to dataframe api #11007

Omega359 opened this issue Jun 19, 2024 · 1 comment · Fixed by #11010
Assignees
Labels
enhancement New feature or request

Comments

@Omega359
Copy link
Contributor

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

@Omega359 Omega359 added the enhancement New feature or request label Jun 19, 2024
@Omega359
Copy link
Contributor Author

take

Omega359 added a commit to Omega359/arrow-datafusion that referenced this issue Jun 19, 2024
alamb pushed a commit that referenced this issue Jun 21, 2024
* Add drop_columns to dataframe api #11007

* Prettier cleanup

* Added additional drop_columns tests and fixed issue with nonexistent columns.
xinlifoobar pushed a commit to xinlifoobar/datafusion that referenced this issue Jun 22, 2024
* Add drop_columns to dataframe api apache#11007

* Prettier cleanup

* Added additional drop_columns tests and fixed issue with nonexistent columns.
xinlifoobar pushed a commit to xinlifoobar/datafusion that referenced this issue Jun 22, 2024
* Add drop_columns to dataframe api apache#11007

* Prettier cleanup

* Added additional drop_columns tests and fixed issue with nonexistent columns.
findepi pushed a commit to findepi/datafusion that referenced this issue Jul 16, 2024
* Add drop_columns to dataframe api apache#11007

* Prettier cleanup

* Added additional drop_columns tests and fixed issue with nonexistent columns.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant