Skip to content

Commit

Permalink
Merge pull request #667 from wgriffa/patch-4
Browse files Browse the repository at this point in the history
separate print statements for clarity and avoid tuple-izing them for convenience
  • Loading branch information
alee authored Mar 5, 2024
2 parents e2b184e + 8287034 commit fd81e1e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion episodes/14-looping-data-sets.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,9 @@ directories. In the example below, we create a `Path` object and inspect its att
from pathlib import Path

p = Path("data/gapminder_gdp_africa.csv")
print(p.parent), print(p.stem), print(p.suffix)
print(p.parent)
print(p.stem)
print(p.suffix)
```

```output
Expand Down

0 comments on commit fd81e1e

Please sign in to comment.