pandas待填坑


1、 cannot do slice indexing on Index with these indexers [3] of type int

df如下:

当使用callable索引时,报错 cannot do slice indexing on Index with these indexers [3] of type int:

    

但是将行索引不设数字时,正常运行不报错:

原因未知

相关