我正在尝试使用Pandasdrop函数删除两列。但是,我收到了错误。仅供参考,我已经打印了数据框的列名。为什么我会收到这样的错误?'SalePrice'],
print(f'Total number of input variables to preprocess: {Fulldf.dropipython-input-287-7da1b9aca26a>
我是新来的达斯克,列被删除的方式让我感到困惑。我已经把一个csv文件读到了Dask数据文件中。那么假设我有这个:print(len(list(df.columns))) # The Dask columnsbefore the drop
df.drop(columns_to_drop, axis=1).compute(). # Drop the columns