Our great sponsors
-
walmart-stores-coffee-analysis
Walmart Coffee Exploratory Data Analysis. Data Extracted with SerpApi 🧡
-
google-search-results-nodejs
SerpApi client library for Node.js. Previously: Google Search Results Node.js.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Pandas
Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
You can explore this project on your own that is available on GitHub: dimitryzub/walmart-stores-coffee-analysis
SerpApi is an API that let's you receive structured JSON data from 26 search engines in 10 languages.
# https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.fillna.html coffee_types = coffee_df['coffee_type'].fillna(method='ffill') # fill with None coffee_types_new = [] # split by comma and extend the new list with split values # https://stackoverflow.com/a/27886807/15164646 for coffee_type in coffee_types: coffee_types_new.extend(coffee_type.split(','))
Install libraries and tell matplotlib to plot inline (inside notebook) with the help of % magic functions which sets the backend of matplotlib to the inline backend:
Related posts
- Interacting with Amazon S3 using AWS Data Wrangler (awswrangler) SDK for Pandas: A Comprehensive Guide
- What to do next after learning basic python grammar
- 2021 Austrian GP - Lap Time Heat Map (pit stops and outliers removed; see comments)
- US presidents according to the word count of their wikipedia page [OC]
- Welcome to 14 days of Data Science!