def check(self, feature):
        """Check that the output of the transformer has no missing values"""
        mapper = feature.as_dataframe_mapper()
        X = mapper.fit_transform(self.X, y=self.y)
        assert not np.any(np.isnan(X))
def check ( self , feature ) : mapper = feature . as_dataframe_mapper ( ) X = mapper . fit_transform ( self . X , y = self . y ) assert not np . any ( np . isnan ( X ) )
Check that the output of the transformer has no missing values