def restore(self, feature_bin):
    '\n        Restore the entry with bin from the distribution.\n        Only valid if called after a pop.\n        '
    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.
def restore(self, feature_bin):
    '\n        Restore the entry with bin from the distribution.\n        Only valid if called after a pop.\n        '
    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())