def calculate_developable_customers_and_load(dataframe):
    """
    Calculate cumulative developebale customers and load

    Parameters
    ----------
    dataframe : pandas.DataFrame
        agent attributes for the given year

    Returns
    -------
    pandas.DataFrame
        agent attributes with new attributes
    """
    dataframe = dataframe.reset_index()
    dataframe['developable_customers_in_bin'] = dataframe['developable_buildings_pct'] * dataframe['customers_in_bin']
    dataframe['developable_load_in_bin_kwh'] = dataframe['developable_buildings_pct'] * dataframe['load_in_bin_kwh']
    dataframe = dataframe.set_index('agent_id')

    return dataframe