新用户注册
备考刷题,请到
CDA认证小程序
A:iloc在布尔索引时不能使用由series构成的索引,;B:df['age'] > 20 只会返回布尔 Series;C:df.loc['age' > 20] 语法错误;D选项正确。