featuremapper/distribution.py
def restore(self, feature_bin):
        """
        Restore the entry with bin from the distribution.
        Only valid if called after a pop.
        """
        if self._pop_store is None:
            raise Exception("Distribution: attempt to restore value before pop")
        self._data[feature_bin] = self._pop_store
        self._pop_store = None
        
        self._keys = list(self._data.keys())
        self._values = list(self._data.values())

        Restore the entry with bin from the distribution.
        Only valid if called after a pop.
        
Restore the entry with bin from the distribution.
Only valid if called after a pop.
Restore the entry with bin from the distribution . Only valid if called after a pop .
def restore(self, feature_bin):
        if self._pop_store is None:
            raise Exception("Distribution: attempt to restore value before pop")
        self._data[feature_bin] = self._pop_store
        self._pop_store = None
        self._keys = list(self._data.keys())
        self._values = list(self._data.values())
def restore ( self , feature_bin ) : if self . _pop_store is None : raise Exception ( "Distribution: attempt to restore value before pop" ) self . _data [ feature_bin ] = self . _pop_store self . _pop_store = None self . _keys = list ( self . _data . keys ( ) ) self . _values = list ( self . _data . values ( ) )
Restore the entry with bin from the distribution.
Restore the entry with bin from the distribution .
"""
        Restore the entry with bin from the distribution.
        Only valid if called after a pop.
        """
self
feature_bin