Login
Remember
Register
Ask a Question
How to delete a column or group of columns in pandas? Given the below dataframe drop column “col1”.
+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
.
...