bucky.postprocess

Postprocesses data across dates and simulation runs before aggregating at geographic levels (ADM0, ADM1, or ADM2).

Module Contents

Functions

divide_by_pop(dataframe, cols)

Given a dataframe and list of columns, divides the columns by the population column (‘N’).

bucky.postprocess.args[source]
bucky.postprocess.default_quantiles = [0.01, 0.025, 0.05, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.45, 0.5, 0.55, 0.6, 0.65, 0.7, 0.75, 0.8, 0.85, 0.9, 0.95, 0.975, 0.99][source]
bucky.postprocess.parser[source]
bucky.postprocess.divide_by_pop(dataframe, cols)[source]

Given a dataframe and list of columns, divides the columns by the population column (‘N’).

Parameters
Returns

dataframe – Original dataframe with the requested columns scaled

Return type

pandas.DataFrame