Answers for "drop row with index pandas"

2

Drop Rows by Index in dataframe

df = df.drop(index=2)
Posted by: Guest on August-04-2021
3

drop a column from dataframe

df = df.drop('column_name', 1)
Posted by: Guest on August-25-2020

Python Answers by Framework

Browse Popular Code Answers by Language