- Lab
- A Cloud Guru
Visualizing Data with Python Libraries and Amazon SageMaker
Imagine you are the data engineer, and you have been assigned to produce visualization charts and answer the following business questions using the dataset provided. Your data contains both categorical and numerical data. 1. Distribution of all employee ages. 2. Distribution of employee ages in each department. 3. Compare the salary ranges of employees by department. 4. Relationship between employee age and salary. 5. Distribution of employee salary across all departments. In this hands-on lab, you will create charts using Seaborn and matplotlib Python libraries.
Path Info
Table of Contents
-
Challenge
Launch SageMaker Notebook
Log in to the AWS console and navigate to AWS SageMaker. Load the Jupyter Notebook that has been provided with this hands-on lab.
-
Challenge
Load Libraries and Prepare the Data
- Use the Pandas library and load
Employee.csv
. - Display the top few rows and ensure the data is read successfully.
- Use the Pandas library and load
-
Challenge
Perform Univariate Analysis
- Use matplotlib functions to add chart title and labels to x and y axes.
- Use the Seaborn Library and create a visualization showing the distribution of employee age in each department.
-
Challenge
Perform Bivariate Analysis
- Modify the Seaborn library to present the salary range of employees by department, show the descriptive statistics visually, and present the relationship between age and salary.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.