6.4 Intro to Data Science: Dynamic Visualizations
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.
The Law of Large Numbers
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 ...
Get Intro to Python for Computer Science and Data Science: Learning to Program with AI, Big Data and The Cloud now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.