From the course: Learning Amazon SageMaker

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Data visualization: Categories

Data visualization: Categories

From the course: Learning Amazon SageMaker

Start my 1-month free trial

Data visualization: Categories

- [Instructor] Data visualization tools. So, which tools? So, matplotlib is a powerful library to visualize different elements of a data set in Python. We'll be using matplotlib to look at some of these elements in the churn data set that we imported earlier in a more visual manner. These libraries, these functions, they're not confined to SageMaker in any way and there are many, many more online tutorials that go into a lot more detail and depth about how to use them but for these examples, we'll go through a few simple ways to look at the churn data set. From the previous example, we've imported the churn dataset and we now have it as a pandas DataFrame object. In the new cell, this object can be manipulated like shown before by running the head function. So, what we can also do is by looking at the state series here, the column with the state value, perhaps we'd like to not just see the number of unique states there are but what's the frequency of these different states. In order…

Contents