(self)
return var, tr
Retrieve the modified variable
Retrieve the modified variable
Retrieve the modified variable
def get_data(self):
        """Retrieve the modified variable
        """
        var, tr = super().get_data()
        if var is None:
            return var, tr
        mapping = self.__categories_mapping()
        assert len(mapping) >= len(var.categories), f'{mapping}, {var}'
        if any(_1 != _2 or _2 != _3
               for (_1, _2), _3 in zip_longest(mapping, var.categories)):
            tr.append(CategoriesMapping(mapping))
        return var, tr
def get_data ( self ) : var , tr = super ( ) . get_data ( ) if var is None : return var , tr mapping = self . __categories_mapping ( ) assert len ( mapping ) >= len ( var . categories ) , f'{mapping}, {var}' if any ( _1 != _2 or _2 != _3 for ( _1 , _2 ) , _3 in zip_longest ( mapping , var . categories ) ) : tr . append ( CategoriesMapping ( mapping ) ) return var , tr