SyntaxFix
Write A Post
Hire A Developer
Questions
Just use indexing
df.iloc[:-1,:]
That's why iloc exists. You can also use head or tail.