Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!