Skip to content

Commit c4927ad

Browse files
authored
Update README.md
1 parent 5282a55 commit c4927ad

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44

55
Data source page: ["Daily Treasury Par Yield Curve Rates"](https://home.treasury.gov/resource-center/data-chart-center/interest-rates/TextView?type=daily_treasury_yield_curve&field_tdr_date_value=2022)
66

7-
## Read existing dataset
7+
## Read dataset from repo
88

99
CSV file (1990-present): [daily UST yields](https://raw.githubusercontent.com/epogrebnyak/data-ust/master/ust.csv)
1010

11-
```
11+
```python
12+
import pandas as pd
1213
url = "https://raw.githubusercontent.com/epogrebnyak/data-ust/master/ust.csv"
1314
df = pd.read_csv(df, parse_dates=["date"]).set_index("date")
1415
```

0 commit comments

Comments
 (0)