convert python list with none values to numpy array with nan values,"np.array(my_list, dtype=np.float)"