May 2019
Beginner
528 pages
29h 51m
English
The preceding chapter’s Intro to Data Science section introduced visualization. We simulated rolling a six-sided die and used the Seaborn and Matplotlib visualization libraries to create a publication-quality static bar plot showing the frequencies and percentages of each roll value. In this section, we make things “come alive” with dynamic visualizations.
When we introduced random-number generation, we mentioned that if the random module’s randrange function indeed produces integers at random, then every number in the specified range has an equal probability (or likelihood) of being chosen each time the function is called. For a six-sided die, each value 1 through ...
Read now
Unlock full access