我想删除最后一行,依次试验图中红框内的三行代码都报错,代码如下:import pandas as pdimport numpy as npdf = pd.DataFrame(np.arange(16).reshape(4, 4), index=list("abcd"), columns=list("wxyz"))print(df)# df = df.drop([len(df) - 1], inplace=True)# df.drop([len(df) - 1], axis=0,inplace=True)df.drop(index=(len(df) - 1), axis=0,inplace=True)print(df)