From fe7fdb668c8bfcba1d5c0ac7c868990def6b5458 Mon Sep 17 00:00:00 2001 From: crvernon Date: Wed, 21 Aug 2024 08:34:23 -0400 Subject: [PATCH] fix future dep warning for year designation --- tell/execute_forward.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tell/execute_forward.py b/tell/execute_forward.py index 61c8608..83a6f54 100644 --- a/tell/execute_forward.py +++ b/tell/execute_forward.py @@ -164,7 +164,7 @@ def process_population_scenario(scenario_to_process: str, population_data_input_ population_dft.set_index('yr', inplace=True) # Interpolate the populations to an annual time-step and transpose the results: - population_interp_df = population_dft.resample('1Y').mean().interpolate('linear').T + population_interp_df = population_dft.resample('1YE').mean().interpolate('linear').T # Convert the dataframe from a wide format to a long format and name the population variable: population_interp_df = population_interp_df.stack().reset_index()