Answers for "drop columns df pandas"

8

drop columns pandas

df.drop(columns=['B', 'C'])
Posted by: Guest on March-23-2020
6

python drop axis

df.drop(['colonna da togliere'], axis=1)
Posted by: Guest on April-06-2020

Python Answers by Framework

Browse Popular Code Answers by Language