Professional Documents
Culture Documents
Computer Science
Overview
b. Lists
c. Dictionaries
Python Data Collection
Structures
Python Data • Lists, dictionaries, tuples, series, and data frames
Collection are Python data collection structures that can be
Structures used to maintain a collection of data
Lists
• A sequence of values of any data type that
can be accessed forward or backward
Lists • Each value is called an element or a list item
• You can create a list from a sequence; in addition, you can sort
and traverse list elements for processing using iteration
statements
Lists and Strings
• In addition, you can split a string into a list of words using the split()
method