为什么第一个图里用iloc变更值的就可以,第二个图用iloc取值的就不可以

img


可以正常变更值

img

第二张图报错iLocation based boolean indexing on an integer type is not available