(self)
Limit number of instances to input size unless using replacement.
Limit number of instances to input size unless using replacement.
Limit number of instances to input size unless using replacement .
def _update_sample_max_size(self):
        """Limit number of instances to input size unless using replacement."""
        if not self.data or self.replacement:
            self.sampleSizeSpin.setMaximum(self._MAX_SAMPLE_SIZE)
        else:
            self.sampleSizeSpin.setMaximum(len(self.data))
def _update_sample_max_size ( self ) : if not self . data or self . replacement : self . sampleSizeSpin . setMaximum ( self . _MAX_SAMPLE_SIZE ) else : self . sampleSizeSpin . setMaximum ( len ( self . data ) )