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.
pull/656/head
Adrian Silich 2 years ago committed by GitHub
parent 1c3318f3d8
commit cc1abc1841
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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: 1. Add a filter at the top of the file, under the initial .csv import:
```python ```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. 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.

Loading…
Cancel
Save