For some reason assigning an integer array to np.nan, which should never be...
For some reason assigning an integer array to np.nan, which should never be possible, only fails when it is of size 1. Work around this with a try/except.
Please register or sign in to comment