From db44863d90584d16624c4d229d186a46aa798698 Mon Sep 17 00:00:00 2001 From: Ver Argulla <37124259+verargulla@users.noreply.github.com> Date: Tue, 29 Oct 2024 07:08:04 +1100 Subject: [PATCH] Dictionary correction --- 2-Regression/4-Logistic/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2-Regression/4-Logistic/README.md b/2-Regression/4-Logistic/README.md index 34e49aaba..3d09a64ba 100644 --- a/2-Regression/4-Logistic/README.md +++ b/2-Regression/4-Logistic/README.md @@ -202,8 +202,8 @@ You can visualize variables side-by-side with Seaborn plots. ```python palette = { - 0: 'orange', - 1: 'wheat' + '0': 'orange', + '1': 'wheat' } sns.swarmplot(x="Color", y="ord__Item Size", data=encoded_pumpkins, palette=palette) ```