src/estimagic/inference/bootstrap_samples.py
def _get_bootstrap_samples_from_indices(data, bootstrap_indices):
    """convert bootstrap indices into actual bootstrap samples.

    Args:
        data (pandas.DataFrame): original dataset.
        bootstrap_indices (list): List with numpy arrays containing positional indices
            of observations in data.

    Returns:
        list: list of DataFrames
    """
    out = [data.iloc[idx] for idx in bootstrap_indices]
    return out
convert bootstrap indices into actual bootstrap samples.

    Args:
        data (pandas.DataFrame): original dataset.
        bootstrap_indices (list): List with numpy arrays containing positional indices
            of observations in data.

    Returns:
        list: list of DataFrames
    
convert bootstrap indices into actual bootstrap samples.
convert bootstrap indices into actual bootstrap samples .
def _get_bootstrap_samples_from_indices(data, bootstrap_indices):
    out = [data.iloc[idx] for idx in bootstrap_indices]
    return out
def _get_bootstrap_samples_from_indices ( data , bootstrap_indices ) : out = [ data . iloc [ idx ] for idx in bootstrap_indices ] return out
convert bootstrap indices into actual bootstrap samples.
convert bootstrap indices into actual bootstrap samples .
"""convert bootstrap indices into actual bootstrap samples.

    Args:
        data (pandas.DataFrame): original dataset.
        bootstrap_indices (list): List with numpy arrays containing positional indices
            of observations in data.

    Returns:
        list: list of DataFrames
    """
list of DataFrames
list of DataFrames
list
data
None
bootstrap_indices
List with numpy arrays containing positional indices
of observations in data.
List with numpy arrays containing positional indices of observations in data .