open_in_new
content_copy
In [57]: np.nanmax([np.nan, 1, 2, 3, 4]) Out[57]: 4.0