From f9e30441bbb01451cc50accf85a32e91c1a71aa5 Mon Sep 17 00:00:00 2001 From: Trevor Campbell Date: Thu, 28 Dec 2023 11:44:50 -0800 Subject: [PATCH] shortened some code avoid linewrap --- source/viz.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/viz.md b/source/viz.md index a11b6b48..e062a679 100755 --- a/source/viz.md +++ b/source/viz.md @@ -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"]] ```