2 Python Data Structures
Data structures organize and store data, making it easier to access the data. Python ships with four data structures: lists, tuples, dictionaries, and sets. These structures are easy to work with, yet they can be used to tackle complex data operations, making Python one of the most popular languages for data analysis.
This chapter will cover Python’s four built-in data structures, with an emphasis on the features that allow you to easily build functional data-centric applications with minimal coding. You’ll also learn how to combine the basic structures into more complex structures, such as a list of dictionaries, ...
Get Python for Data Science 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.