I am working with the ames-iowa-housing-dataset and tried to find the null values in the categorical columns usign the the following code:
(data .select_dtypes('string') .eq('NA') # equals an empty string .mean(axis='rows') .mul(100) .pipe(lambda ser: ser[ser > 0]))
It outputs an empty series:
Series([], dtype: double[pyarrow])
It shouldn't be this as the 'Alley' column contains NA values.
I tried replacing the empty string('') with None, but it didn't work.