cereniyim / Statistical-Significance-CLT-In-Action

Code Behind the Central Limit Theorem and Statistical Significance In Action
1 stars 0 forks source link

code is not working #1

Open saurabhbidwai opened 4 years ago

saurabhbidwai commented 4 years ago

This is the given code

life_exp_dataset = pd.read_csv( "https://raw.githubusercontent.com/open-numbers/ddf--gapminder--systema_globalis/master/ddf--datapoints--life_expectancy_years--by--geo--time.csv")

I have tried with latest path

life_exp_dataset = pd.read_csv("https://github.com/open-numbers/ddf--gapminder--gapminder_world/blob/master/ddf--datapoints--life_expectancy_years--by--geo--time.csv")

but still, it's not working.

twilight2001 commented 2 years ago

I found these two fixed up the code and it ran to the last cell : (auther probably rename the dataset)

  1. the downloading of the data should be instead (from original author) life_exp_dataset = pd.read_csv( "https://raw.githubusercontent.com/open-numbers/ddf--gapminder--life_expectancy/master/ddf--datapoints--life_expectancy_at_birth--by--geo--time.csv")

  2. The variable life_expectancy_years changed to life_expectancy_at_birth