(self, data)
return data.transform(domain)
Remove columns with constant values from the dataset and return
        the resulting data table.

        Parameters
        ----------
        data : an input dataset
Remove columns with constant values from the dataset and return
        the resulting data table.
Remove columns with constant values from the dataset and return the resulting data table .
def __call__(self, data):
        """
        Remove columns with constant values from the dataset and return
        the resulting data table.

        Parameters
        ----------
        data : an input dataset
        """

        oks = np.logical_and(~bn.allnan(data.X, axis=0),
                             bn.nanmin(data.X, axis=0) != bn.nanmax(data.X, axis=0))
        atts = [data.domain.attributes[i] for i, ok in enumerate(oks) if ok]
        domain = Orange.data.Domain(atts, data.domain.class_vars,
                                    data.domain.metas)
        return data.transform(domain)
def __call__ ( self , data ) : oks = np . logical_and ( ~ bn . allnan ( data . X , axis = 0 ) , bn . nanmin ( data . X , axis = 0 ) != bn . nanmax ( data . X , axis = 0 ) ) atts = [ data . domain . attributes [ i ] for i , ok in enumerate ( oks ) if ok ] domain = Orange . data . Domain ( atts , data . domain . class_vars , data . domain . metas ) return data . transform ( domain )