diff --git a/lectures/inequality.md b/lectures/inequality.md index d066b7ab..0b649cbd 100644 --- a/lectures/inequality.md +++ b/lectures/inequality.md @@ -618,7 +618,7 @@ df_income_wealth.year.describe() [This notebook](https://github.com/QuantEcon/lecture-python-intro/tree/main/lectures/_static/lecture_specific/inequality/data.ipynb) can be used to compute this information over the full dataset. ```{code-cell} ipython3 -data_url = 'https://github.com/QuantEcon/lecture-python-intro/raw/main/lectures/_static/lecture_specific/inequality/usa-gini-nwealth-tincome-lincome.csv' +data_url = 'https://raw.githubusercontent.com/QuantEcon/data-lectures/main/lectures/usa-gini-nwealth-tincome-lincome.csv' ginis = pd.read_csv(data_url, index_col='year') ginis.head(n=5) ``` diff --git a/lectures/simple_linear_regression.md b/lectures/simple_linear_regression.md index a2a8132c..d8962d6a 100644 --- a/lectures/simple_linear_regression.md +++ b/lectures/simple_linear_regression.md @@ -408,12 +408,12 @@ Let's consider two economic variables GDP per capita and Life Expectancy. ::: -You can download {download}`a copy of the data here ` if you get stuck +You can download {download}`a copy of the data here ` if you get stuck **Q3:** Use `pandas` to import the `csv` formatted data and plot a few different countries of interest ```{code-cell} ipython3 -data_url = "https://github.com/QuantEcon/lecture-python-intro/raw/main/lectures/_static/lecture_specific/simple_linear_regression/life-expectancy-vs-gdp-per-capita.csv" +data_url = "https://raw.githubusercontent.com/QuantEcon/data-lectures/main/lectures/life-expectancy-vs-gdp-per-capita.csv" df = pd.read_csv(data_url, nrows=10) ```