Skip to main content
Category
Topics

Big Data Tutorials

Learn how to implement the tools that data scientists are using to handle, process, & analyse big data. Gain insight to help upskill your career & team.
Training 2 or more people?Try DataCamp for Business
Big Data

PySpark: How to Drop a Column From a DataFrame

In PySpark, we can drop one or more columns from a DataFrame using the .drop("column_name") method for a single column or .drop(["column1", "column2", ...]) for multiple columns.

Maria Eugenia Inzaugarat