Skip to content

Commit

Permalink
shortened some code avoid linewrap
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorcampbell committed Dec 28, 2023
1 parent 5365616 commit f9e3044
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/viz.md
Original file line number Diff line number Diff line change
Expand Up @@ -851,8 +851,8 @@ and is just added for readability.

```{code-cell} ipython3
canadian_population = 35_151_728
can_lang["mother_tongue_percent"] = can_lang["mother_tongue"] / canadian_population * 100
can_lang["most_at_home_percent"] = can_lang["most_at_home"] / canadian_population * 100
can_lang["mother_tongue_percent"] = can_lang["mother_tongue"]/canadian_population*100
can_lang["most_at_home_percent"] = can_lang["most_at_home"]/canadian_population*100
can_lang[["mother_tongue_percent", "most_at_home_percent"]]
```

Expand Down

0 comments on commit f9e3044

Please sign in to comment.