Answers for "how to remove a certain row from a pandas dataframe"

1

remove 0th row pandas

df1 = df.iloc[1:]
Posted by: Guest on November-24-2020
2

dataframe delete row

df.drop(df.index[2])
Posted by: Guest on May-26-2020

Code answers related to "how to remove a certain row from a pandas dataframe"

Python Answers by Framework

Browse Popular Code Answers by Language