drop the last row of a dataframe

48

drop the last row of a dataframe -

df.drop(df.tail(n).index,inplace=True) # drop last n rows

Comments

Submit
0 Comments