如何在 Dask Dataframe 中选择一组列?

How to choose a group of columns in a Dask Dataframe?

有没有办法在 dask 数据框中选择一组列?

切片 df [['col_1', 'col_2']] 似乎不起作用。

这是我的错误。我将接收 "not implemented error" 的 numpy 数组中的字符串列表传递给切片运算符,而传递 python 列表却能正常工作。