-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
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
- https://docs.rs/polars/latest/polars/frame/struct.DataFrame.html#method.drop
- https://spark.apache.org/docs/latest/api/scala/org/apache/spark/sql/Dataset.html#drop(col:org.apache.spark.sql.Column,cols:org.apache.spark.sql.Column*):org.apache.spark.sql.DataFrame
- https://docs.snowflake.com/developer-guide/snowpark/reference/scala/com/snowflake/snowpark/DataFrame.html#drop(cols:Array[com.snowflake.snowpark.Column]):com.snowflake.snowpark.DataFrame
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request