I have 2 Numpy arrays with the same length
array([ 0.9737068 , NaN, NaN, ..., -0.64236529,
-0.88137541, -0.78318609])
array([ 0.9 , 0.7643, 0.61, ..., -0.64236529,
-0.88137541, -0.78318609])
In the first array I have NaN values, how can I replace these NaN values with values from the second array. In this example my third array would be:
array([ 0.9737068 , Nan => 0.7643, NaN => 0.61 , ..., -0.64236529,
-0.88137541, -0.78318609])