示例数据帧如下
c1 c2 0 1 2 1 nan 4 2 1 nan 3 4 1 4 nan nan
在使用df.dropna(axis = 0)函数删除之后,我希望得到一个删除行的索引列表,如下所示.
[1,2,4]
python pandas
pandas ×1
python ×1