📌  相关文章
📜  删除每隔一列 pandas - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:15.627000             🧑  作者: Mango

代码示例1
#We would like to drop every other column
data = data.loc[:, np.arange(len(data.columns)) %2 == 0]