🌈 搜索
📅  最后修改于: 2022-03-11 14:45:38.653000             🧑  作者: Mango
# Drop last column of a dataframe df = df.iloc[: , :-1] # Drop last 2 column of a dataframe df = df.iloc[: , :-2]