Answers for "seperate a remove a column in pandas"

5

df drop column

df = df.drop(['B', 'C'], axis=1)
Posted by: Guest on June-02-2020
4

how to delete a column from a dataframe in python

del df['column']
Posted by: Guest on April-11-2020

Code answers related to "seperate a remove a column in pandas"

Python Answers by Framework

Browse Popular Code Answers by Language