Closed michaelosthege closed 4 years ago
@joaopn Would it be a good idea to reformat the RKI data in the same way, that is with a 3 way multiindex (country, state, landkreis)? Than I would say that it sounds something that we could take in our module... And would you like to do it? ;)
Hi there,
Really cool model! I'm working to understand & run your model and found it a bit easier to preprocess the JHU data with a bit of pandas:
First, to reformat the awkwardly formatted original JHU data to a DataFrame with multi-index:
Then filtering by country/state is much easier:
With
datetime
objects in the DataFrame index, one can slice directly with the date:cheers