Page 16 -
P. 16
table of contents
comprehending data
5 Work that data!
Data comes in all shapes and sizes, formats and encodings.
To work effectively with your data, you often have to manipulate and transform it into a
common format to allow for efficient processing, sorting, and storage. In this chapter,
you’ll explore Python goodies that help you work your data up into a sweat, allowing
you to achieve data-munging greatness.
Coach Kelly needs your help 140
Sort in one of two ways 144
The trouble with time 148
Comprehending lists 155
Iterate to remove duplicates 161
Remove duplicates with sets 166
Your Python Toolbox 172
This chapter’s
guaranteed to give you
a workout!
xiv