coronavirus-dashboard-api-python-sdk icon indicating copy to clipboard operation
coronavirus-dashboard-api-python-sdk copied to clipboard

get_dataframe() mishandles index and date type

Open timcoote opened this issue 4 years ago • 1 comments

the dataframe returned by get_dataframe () is quite odd from a pandas point of view and doesn't appear to agree with the api documentation.

Shouldn't the 'date' column be of type pandas.Timestamp, rather than ? Should time run forwards? Should the 'date' column be the index of the returned dataframe?

timcoote avatar Jul 23 '21 19:07 timcoote

I see that there's a (failing) PR to address this issue (#20)

timcoote avatar Jul 28 '21 08:07 timcoote