Largue a última linha de um DataFrame
df.drop(df.tail(n).index,inplace=True) # drop last n rows
White Faced Tree Rat
df.drop(df.tail(n).index,inplace=True) # drop last n rows
b = np.delete(a, -1, axis=1)
N = 3
# Drop last N columns of dataframe
df = df.iloc[: , :-N]