diff --git a/docs/src/index.md b/docs/src/index.md index bf0f9bc..d95e32c 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -149,7 +149,7 @@ An inflation-adjusted column can quickly be added to a pandas DataFrame using th import cpi import pandas as pd -df = pd.read("https://raw.githubusercontent.com/palewire/cpi/main/tests/test.csv") +df = pd.read_csv("https://raw.githubusercontent.com/palewire/cpi/main/tests/test.csv") df["ADJUSTED"] = df.apply( lambda x: cpi.inflate(x.MEDIAN_HOUSEHOLD_INCOME, x.YEAR), axis=1 )