I have an array (arr) with random NaNs and numbers.
arr = np.array((np.nan, np.nan, 2.3, np.nan, np.nan, 6.4, np.nan))
I need to check and remove, if present, Nan occurence/s before first number in index, here below the result:
result = np.array((2.3, np.nan, np.nan, 6.4, np.nan))