我使用了temp[temp==0] = np.nan,但出現(xiàn)此錯(cuò)誤:IndexError:不支持二維布爾索引。
如何將數(shù)組中的零轉(zhuǎn)換為 Nan?
桃花長(zhǎng)相依
2021-07-02 03:11:56