otld.tableau.tableau_datasets_financial.calculate_pce

otld.tableau.tableau_datasets_financial.calculate_pce(path: str, base_year: int) DataFrame

Output a base_pce as well as calculate pce for every federal fiscal year.

Args:

path (str): Path to PCE csv base_year (int): The year to which to scale inflation adjusted dollars

Returns:

pd.DataFrame: Data frame with pce calculated