Skip to content

Commit

Permalink
fix future dep warning for year designation
Browse files Browse the repository at this point in the history
  • Loading branch information
crvernon committed Aug 21, 2024
1 parent 9ac47da commit fe7fdb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tell/execute_forward.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit fe7fdb6

Please sign in to comment.