ValueError: Input contains NaN, infinity or a value too large for dtype('float64').
Closed this issue · 1 comments
When trying to predict day 1 data, this error is being displayed. Maybe this is due to the change in the data, when trying to slice t to make ex, it is giving an array with all NaN values.
Any guidance will be appreciated.
data source URL was changed, please verify you're reading data from the following URL.
url = 'https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv'
confirmed = pd.read_csv(url, error_bad_lines=False)
url = 'https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_deaths_global.csv'
death = pd.read_csv(url, error_bad_lines=False)
url = 'https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_recovered_global.csv'
recover = pd.read_csv(url, error_bad_lines=False)