Answers for "how to delete value in pandas"

8

drop columns pandas

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

delete rows with value in column pandas

df = df[df.line_race != 0]
Posted by: Guest on April-07-2020

Code answers related to "how to delete value in pandas"

Python Answers by Framework

Browse Popular Code Answers by Language