dkobak / excess-mortality

Excess mortality during COVID-19 pandemic
GNU General Public License v3.0
331 stars 45 forks source link

place 'placeholder' chunks in if() switch #8

Closed mpaolo closed 3 years ago

mpaolo commented 3 years ago

I suggest to put 'placeholder' chunks in if() switch like

if (1):
    country='Sweden'
    X = allcountries[country][0]
    baseline = allcountries[country][1]
    ...

that's quicker & easier (for me at least) than (un)comment all relevant lines or even change the cell type (code, markup, raw nbr in Jupyter) to (de)activate the chunk as needed

dkobak commented 3 years ago

Thanks for suggestion but I'm actually going to delete all this from the notebook.