Skip to content

Commit 1b14070

Browse files
authored
Update index.md
1 parent 3bed9e7 commit 1b14070

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ An inflation-adjusted column can quickly be added to a pandas DataFrame using th
149149
import cpi
150150
import pandas as pd
151151
152-
df = pd.read("https://raw.githubusercontent.com/palewire/cpi/main/tests/test.csv")
152+
df = pd.read_csv("https://raw.githubusercontent.com/palewire/cpi/main/tests/test.csv")
153153
df["ADJUSTED"] = df.apply(
154154
lambda x: cpi.inflate(x.MEDIAN_HOUSEHOLD_INCOME, x.YEAR), axis=1
155155
)

0 commit comments

Comments
 (0)