May 2019
Beginner
528 pages
29h 51m
English
Animated visualizations can help you understand how algorithms work. In this section, you’ll animate the selection sort algorithm using:
the Seaborn bar plot capabilities from the “Sequences: Lists and Tuples” chapter’s Intro to Data Science section,
the Matplotlib animation techniques from the “Dictionaries and Sets” chapter’s Intro to Data Science section where we introduced FuncAnimations, and
the yield and yield from statements, which we’ll introduce here.
We’ve already presented the selection sort algorithm and the technologies above. Here, we’ll focus on how we modified this chapter’s earlier selection sort example to implement the animation.
To enhance the animation, we’ll ...
Read now
Unlock full access