Scatterplot

Let's start with drawing a scatterplot; we do this with the following command:

sns.stripplot(x="season", y="us_viewers_in_millions", data=df);

The output should be as follows:

Here, we have used seaborn's stripplot method. We plotted the season number on the x axis and US viewers in millions on the y axis. We also specified the name of the DataFrame used.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.22.167.22