(self, k)
return len(self.data) >= k
k cannot be larger than the number of data instances.
k cannot be larger than the number of data instances.
k cannot be larger than the number of data instances .
def enough_data_instances(self, k):
        """k cannot be larger than the number of data instances."""
        return len(self.data) >= k
def enough_data_instances ( self , k ) : return len ( self . data ) >= k