def METHOD_NAME(self, synthesizer, table_name, num_rows, sampled_data):
    """Sample a single table and all its children.
    Args:
        synthesizer (SingleTableSynthesizer):
            Synthesizer to sample from for the table.
        table_name (string):
            Name of the table to sample.
        num_rows (int):
            Number of rows to sample for the table.
        sampled_data (dict):
            A dictionary mapping table names to sampled tables (pd.DataFrame).
    """
    LOGGER.info(f'Sampling {num_rows} rows from table {table_name}')
    sampled_rows = synthesizer._sample_batch(num_rows, keep_extra_columns=True)
    sampled_data[table_name] = sampled_rows