🌈 搜索
📅  最后修改于: 2022-03-11 14:46:31.786000             🧑  作者: Mango
# You need copy with boolean indexing, new DataFrame constructor is not necessary: d2 = d1[d1.a > 1].copy()