(self, len_data, target_pop)
return target_pop - len_data
Calculate the number of rows to add to or remove from some data.

        Parameters
        ----------
        len_data : int
            The current number of rows in the data table.
        target_pop : int
            Target population.
Calculate the number of rows to add to or remove from some data.
Calculate the number of rows to add to or remove from some data .
def _calc_nrows(self, len_data, target_pop):
        """
        Calculate the number of rows to add to or remove from some data.

        Parameters
        ----------
        len_data : int
            The current number of rows in the data table.
        target_pop : int
            Target population.

        """
        return target_pop - len_data
def _calc_nrows ( self , len_data , target_pop ) : return target_pop - len_data