SyntaxFix
Write A Post
Hire A Developer
Questions
df.drop(df.index[[0,2]])
Pandas uses zero based numbering, so 0 is the first row, 1 is the second row and 2 is the third row.