If you reverse the selectors, and select by column first, it will work fine: Code: df.feature_a.iloc[[1, 3, 15]] = 88. Why?
確定! 回上一頁