Answers for "how to drop a rows from the data frame"

8

drop columns pandas

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

remove rows from dataframe

df.drop(['Cochice', 'Pima'])
Posted by: Guest on August-23-2020

Code answers related to "how to drop a rows from the data frame"

Python Answers by Framework

Browse Popular Code Answers by Language