From 1b140705723f1c242d61c7759b2e59efdd2b1990 Mon Sep 17 00:00:00 2001 From: Ben Welsh Date: Sun, 1 Sep 2024 17:11:11 -0400 Subject: [PATCH] Update index.md --- docs/src/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )