Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
How to delete a column or group of columns in pandas? Given the below dataframe drop column “col1”.
Home
Python
How to delete a column or group of columns in pandas? Given the below dataframe drop column...
+1
vote
asked
Feb 14, 2021
in
Python
by
SakshiSharma
How to delete a column or group of columns in pandas? Given the below dataframe drop column “col1”.
#delete-column
pandas-delete-column
dataframe
dataframe-column
Python-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Feb 14, 2021
by
SakshiSharma
drop() function
can be used to delete the columns from a
dataframe
.
...