Answers for "drop first row of dataframe"

1

pandas delete first row

df = df.iloc[3:]
Posted by: Guest on February-24-2021
0

remove first row of dataframe

df = df.iloc[1: , :]
Posted by: Guest on September-17-2021
1

remove 0th row pandas

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

Python Answers by Framework

Browse Popular Code Answers by Language