可以使用 iloc 属性来选取 dataframe 的第二列以后的所有列。 示例: df.iloc[:, 1:] 这会选取 dataframe 中所有行(冒号前面没有数字),并且从第二列(索引为 1)开始选取所有列(冒号后面没有数字)。