Skip to content

Commit

Permalink
Avoid line wrapping in URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
s2t2 committed Oct 31, 2024
1 parent 04be3af commit 079f719
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
5 changes: 4 additions & 1 deletion docs/notes/applied-stats/basic-tests.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ For these examples, let's us this familiar example dataset of monthly financial
```{python}
from pandas import read_csv
df = read_csv("https://raw.githubusercontent.com/prof-rossetti/python-for-finance/main/docs/data/monthly-indicators.csv")
repo_url = "https://raw.githubusercontent.com/prof-rossetti/python-for-finance"
request_url = f"{repo_url}/main/docs/data/monthly-indicators.csv"
df = read_csv(request_url)
df.head()
```

Expand Down
5 changes: 4 additions & 1 deletion docs/notes/applied-stats/correlation.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ To examine correlation, let's revisit our familiar dataset of economic indicator
```{python}
from pandas import read_csv
df = read_csv("https://raw.githubusercontent.com/prof-rossetti/python-for-finance/main/docs/data/monthly-indicators.csv")
repo_url = "https://raw.githubusercontent.com/prof-rossetti/python-for-finance"
request_url = f"{repo_url}/main/docs/data/monthly-indicators.csv"
df = read_csv(request_url)
df.head()
```

Expand Down
5 changes: 4 additions & 1 deletion docs/notes/applied-stats/data-scaling.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ To illustrate the motivations behind data scaling, let's revisit our familiar da
```{python}
from pandas import read_csv
df = read_csv("https://raw.githubusercontent.com/prof-rossetti/python-for-finance/main/docs/data/monthly-indicators.csv")
repo_url = "https://raw.githubusercontent.com/prof-rossetti/python-for-finance"
request_url = f"{repo_url}/main/docs/data/monthly-indicators.csv"
df = read_csv(request_url)
df.head()
```

Expand Down
5 changes: 4 additions & 1 deletion docs/notes/applied-stats/summary-stats.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ Let's consider this example dataset of monthly financial and economic indicators
```{python}
from pandas import read_csv
df = read_csv("https://raw.githubusercontent.com/prof-rossetti/python-for-finance/main/docs/data/monthly-indicators.csv")
repo_url = "https://raw.githubusercontent.com/prof-rossetti/python-for-finance"
request_url = f"{repo_url}/main/docs/data/monthly-indicators.csv"
df = read_csv(request_url)
df.head()
```

Expand Down

0 comments on commit 079f719

Please sign in to comment.