I have an array of floats (some normal numbers, some nans) that is coming out of an apply on a pandas dataframe.
For some reason, numpy.isnan is failing on this arra
Make sure you import csv file using Pandas
import pandas as pd condition = pd.isnull(data[i][j])