Skip to content

Commit 502a964

Browse files
committed
Merge branch 'main' of https://github.com/palewire/cpi
2 parents 114b9a8 + 1b14070 commit 502a964

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)