debdutgoswami / covid-19-India

A package to provide information regarding COVID-19 cases in India.

Home Page:https://pypi.org/project/covid-india/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ValueError: too many values to unpack (expected 5)

Harikrishnan6336 opened this issue · comments

The below code which is provided in the ReadMe gives an error

from covid_india import states
print(states.getdata())

...\covid_india\states.py", line 20, in getdata
update_json(req)

....\covid_india\states.py", line 37, in update_json
_, s, t, c, d = df[0]

ValueError: too many values to unpack (expected 5)

Thanks for reporting the issue. It will be fixed soon.

FIXED.