From cc1abc184138b4b61bcbf6905e448f7e7fdc34f0 Mon Sep 17 00:00:00 2001 From: Adrian Silich <97989721+asilich123@users.noreply.github.com> Date: Thu, 27 Apr 2023 15:40:17 -0700 Subject: [PATCH] Update README.md code to correct data frame Readme sample code is referring to a previously used data frame simply named pumpkins. pumpkins data frame was renamed to new_pumpkins prior to this sample code. Updated sample code to reflect the change. --- 2-Regression/2-Data/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2-Regression/2-Data/README.md b/2-Regression/2-Data/README.md index 298f552e..7d5cb290 100644 --- a/2-Regression/2-Data/README.md +++ b/2-Regression/2-Data/README.md @@ -116,7 +116,7 @@ Digging into the original data, it's interesting that anything with `Unit of Sal 1. Add a filter at the top of the file, under the initial .csv import: ```python - pumpkins = pumpkins[pumpkins['Package'].str.contains('bushel', case=True, regex=True)] + new_pumpkins = new_pumpkins[pumpkins['Package'].str.contains('bushel', case=True, regex=True)] ``` If you print the data now, you can see that you are only getting the 415 or so rows of data containing pumpkins by the bushel.