drop last row pandas

118

drop last row pandas -

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

Comments

Submit
0 Comments