Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Datasets: import pandas as pd import numpy as np import seaborn as sns 2 0 * ice _ cream Is this a long or a

Datasets:
import pandas as pd
import numpy as np
import seaborn as sns
20* ice_cream
Is this a long or a wide data set?
21* plot21= sns.heatmap(ice_cream,center=0)
plot21.set_title("Changes in ice cream units stocked since yesterday")
plot21.set_xlabel("Flavor")
Customize this heat map by making both of these changes:
Turn on annotations (annot=True)
Specify a color map (cmap=) with an appropriate color map option.
23* vocab_subset = vocab[vocab['year']>2000]
sns.violinplot(x="year",y="education",data=vocab_subset)
24* Now choose 2 combinations of styles and palattes to try. Set them using the set command, and then see the change in the copy of the violinplot command from above. Run both lines of code to see how your plot looks! (Note: do not worry about adding titles/labels for this part)
Styles: whitegrid, darkgrid, dark, white, ticks
Palettes: deep, muted, pastel, bright, dark, and colorblind.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2012 Administration

Authors: Adam Jorgensen, Steven Wort

1st Edition

1118106881, 9781118106884

More Books

Students also viewed these Databases questions