src/ei_mcoe/ei_mcoe.py
def calc_value_of_life(emis_df):
    """Calculate the amount of premature deaths caused by pollutants.

    Args:
        emis_df (pandas.DataFrame): A DataFrame with the monetary damages per
            pollutant calculated.
    Returns:
        pandas.DataFrame: A DataFrame with a new column for the amount of
            premature deaths caused by the given quantity of pollution.
    """
    logger.info(' - Calculating the amount of premature deaths')
    emis_df['premature_deaths'] = (
        emis_df['total_monetized_deaths'] / epa_life_value)  # .round(1)
    return emis_df
Calculate the amount of premature deaths caused by pollutants.

    Args:
        emis_df (pandas.DataFrame): A DataFrame with the monetary damages per
            pollutant calculated.
    Returns:
        pandas.DataFrame: A DataFrame with a new column for the amount of
            premature deaths caused by the given quantity of pollution.
    
Calculate the amount of premature deaths caused by pollutants.
Calculate the amount of premature deaths caused by pollutants .
def calc_value_of_life(emis_df):
    logger.info(' - Calculating the amount of premature deaths')
    emis_df['premature_deaths'] = (
        emis_df['total_monetized_deaths'] / epa_life_value)  
    return emis_df
def calc_value_of_life ( emis_df ) : logger . info ( ' - Calculating the amount of premature deaths' ) emis_df [ 'premature_deaths' ] = ( emis_df [ 'total_monetized_deaths' ] / epa_life_value ) return emis_df
Calculate the amount of premature deaths caused by pollutants.
Calculate the amount of premature deaths caused by pollutants .
"""Calculate the amount of premature deaths caused by pollutants.

    Args:
        emis_df (pandas.DataFrame): A DataFrame with the monetary damages per
            pollutant calculated.
    Returns:
        pandas.DataFrame: A DataFrame with a new column for the amount of
            premature deaths caused by the given quantity of pollution.
    """ # .round(1)
A DataFrame with a new column for the amount of
premature deaths caused by the given quantity of pollution.
A DataFrame with a new column for the amount of premature deaths caused by the given quantity of pollution .
pandas.DataFrame
emis_df
A DataFrame with the monetary damages per
pollutant calculated.
A DataFrame with the monetary damages per pollutant calculated .