human
dropping a row in pandas with dates indexes, python
assistant
Here is some code to return dataframe `df` with last row dropped

df.ix[:-1]

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.