How I can i conditionally change the values in a numpy array taking into account nan numbers?

前端 未结 3 1294
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-02 13:56

My array is a 2D matrix and it has numpy.nan values besides negative and positive values:

>>> array
array([[        nan,         nan,         nan, ...,         


        
3条回答
提交回复
热议问题