Title: Python Data Structures (Learning Path) – Real Python
Open Graph Title: Python Data Structures (Learning Path) – Real Python
Description: Explore Python's core data structures: strings, lists, tuples, dictionaries, and sets. Master string operations, list comprehensions, copying objects, sorting, and the range() function. Dive deep into complex numbers, the del statement, and robust assignments.
Open Graph Description: Explore Python's core data structures: strings, lists, tuples, dictionaries, and sets. Master string operations, list comprehensions, copying objects, sorting, and the range() function. Dive deep into complex numbers, the del statement, and robust assignments.
Opengraph URL: https://realpython.com/learning-paths/basic-python-data-structures/
X: @realpython
Domain: realpython.com
{
"@context": "https://schema.org",
"@type": "ItemList",
"@id": "https://realpython.com/learning-paths/basic-python-data-structures/",
"url": "https://realpython.com/learning-paths/basic-python-data-structures/",
"name": "Python Data Structures",
"description": "Explore Python's core data structures: strings, lists, tuples, dictionaries, and sets. Master string operations, list comprehensions, copying objects, sorting, and the range() function. Dive deep into complex numbers, the del statement, and robust assignments.",
"itemListOrder": "ItemListOrderAscending",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"item": {
"@type": "Course",
"@id": "https://realpython.com/courses/python-strings/",
"url": "https://realpython.com/courses/python-strings/",
"name": "Strings and Character Data in Python",
"description": "Learn how to use Python's rich set of operators, functions, and methods for working with strings. You'll learn how to access and extract portions of strings, and also become familiar with the methods that are available to manipulate and modify string data in Python 3.",
"provider": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
},
"hasCourseInstance": {
"@type": "CourseInstance",
"courseMode": "Online",
"courseWorkload": "PT249M47S"
},
"offers": [
{
"@type": "Offer",
"category": "Subscription"
}
]
}
},
{
"@type": "ListItem",
"position": 2,
"item": {
"@type": "Course",
"@id": "https://realpython.com/courses/python-string-contains-substring/",
"url": "https://realpython.com/courses/python-string-contains-substring/",
"name": "Check if a Python String Contains a Substring",
"description": "Learn the best way to check whether a Python string contains a substring. You'll also learn about idiomatic ways to inspect the substring further, match substrings with conditions using regular expressions, and search for substrings in pandas.",
"provider": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
},
"hasCourseInstance": {
"@type": "CourseInstance",
"courseMode": "Online",
"courseWorkload": "PT129M55S"
},
"offers": [
{
"@type": "Offer",
"category": "Subscription"
}
]
}
},
{
"@type": "ListItem",
"position": 3,
"item": {
"@type": "Course",
"@id": "https://realpython.com/courses/splitting-concatenating-and-joining-strings-python/",
"url": "https://realpython.com/courses/splitting-concatenating-and-joining-strings-python/",
"name": "Splitting, Concatenating, and Joining Python Strings",
"description": "In this course you'll some of the most fundamental string operations: splitting, concatenating, and joining. Not only will you learn how to use these tools, but you\u2019ll walk away with a deeper understanding of how they work under the hood in Python.",
"provider": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
},
"hasCourseInstance": {
"@type": "CourseInstance",
"courseMode": "Online",
"courseWorkload": "PT48M44S"
},
"offers": [
{
"@type": "Offer",
"category": "Subscription"
}
]
}
},
{
"@type": "ListItem",
"position": 4,
"item": {
"@type": "Course",
"@id": "https://realpython.com/courses/python-string-splitting/",
"url": "https://realpython.com/courses/python-string-splitting/",
"name": "Python String Splitting",
"description": "Master Python string splitting with .split() and re.split() to handle whitespace, delimiters and multiline text.",
"provider": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
},
"hasCourseInstance": {
"@type": "CourseInstance",
"courseMode": "Online",
"courseWorkload": "PT85M42S"
},
"offers": [
{
"@type": "Offer",
"category": "Subscription"
}
]
}
},
{
"@type": "ListItem",
"position": 6,
"item": {
"@type": "Course",
"@id": "https://realpython.com/courses/concatenating-strings-efficiently/",
"url": "https://realpython.com/courses/concatenating-strings-efficiently/",
"name": "Concatenating Strings in Python Efficiently",
"description": "Learn how to concatenate strings in Python. You'll use different tools and techniques for string concatenation, including the concatenation operators and the .join() method. You'll also explore other tools that can also be handy for string concatenation in Python.",
"provider": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
},
"hasCourseInstance": {
"@type": "CourseInstance",
"courseMode": "Online",
"courseWorkload": "PT46M7S"
},
"offers": [
{
"@type": "Offer",
"category": "Subscription"
}
]
}
},
{
"@type": "ListItem",
"position": 7,
"item": {
"@type": "Course",
"@id": "https://realpython.com/courses/lists-tuples-python/",
"url": "https://realpython.com/courses/lists-tuples-python/",
"name": "Lists and Tuples in Python",
"description": "See the important characteristics of lists and tuples in Python 3. You'll learn how to define them and how to manipulate them. When you're finished, you'll have a good feel for when and how to use these object types in a Python program.",
"provider": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
},
"hasCourseInstance": {
"@type": "CourseInstance",
"courseMode": "Online",
"courseWorkload": "PT146M14S"
},
"offers": [
{
"@type": "Offer",
"category": "Subscription"
}
]
}
},
{
"@type": "ListItem",
"position": 8,
"item": {
"@type": "Course",
"@id": "https://realpython.com/courses/dictionaries-python/",
"url": "https://realpython.com/courses/dictionaries-python/",
"name": "Using Dictionaries in Python",
"description": "In this course on Python dictionaries, you'll cover the basic characteristics of dictionaries and learn how to access and manage dictionary data. Once you've finished this course, you'll have a good sense of when a dictionary is the appropriate data type to use and know how to use it.",
"provider": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
},
"hasCourseInstance": {
"@type": "CourseInstance",
"courseMode": "Online",
"courseWorkload": "PT54M4S"
},
"offers": [
{
"@type": "Offer",
"category": "Subscription"
}
]
}
},
{
"@type": "ListItem",
"position": 9,
"item": {
"@type": "Course",
"@id": "https://realpython.com/courses/pythons-len-function/",
"url": "https://realpython.com/courses/pythons-len-function/",
"name": "Python's len() Function",
"description": "Learn how and when to use the len() Python function. You'll also learn how to customize your class definitions so that objects of a user-defined class can be used as arguments in len().",
"provider": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
},
"hasCourseInstance": {
"@type": "CourseInstance",
"courseMode": "Online",
"courseWorkload": "PT53M23S"
},
"offers": [
{
"@type": "Offer",
"category": "Subscription"
}
]
}
},
{
"@type": "ListItem",
"position": 10,
"item": {
"@type": "Course",
"@id": "https://realpython.com/courses/list-data-type-with-examples/",
"url": "https://realpython.com/courses/list-data-type-with-examples/",
"name": "Exploring Python's list Data Type With Examples",
"description": "In this video course, you'll dive deep into Python's lists: how to create them, update their content, populate and grow them - with practical code examples.",
"provider": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
},
"hasCourseInstance": {
"@type": "CourseInstance",
"courseMode": "Online",
"courseWorkload": "PT112M58S"
},
"offers": [
{
"@type": "Offer",
"category": "Subscription"
}
]
}
},
{
"@type": "ListItem",
"position": 11,
"item": {
"@type": "Course",
"@id": "https://realpython.com/courses/deep-vs-shallow-copies/",
"url": "https://realpython.com/courses/deep-vs-shallow-copies/",
"name": "Deep vs Shallow Copies in Python",
"description": "Understand the difference between shallow and deep copies in Python. Learn how to duplicate objects safely using the copy module and other techniques.",
"provider": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
},
"hasCourseInstance": {
"@type": "CourseInstance",
"courseMode": "Online",
"courseWorkload": "PT88M0S"
},
"offers": [
{
"@type": "Offer",
"category": "Subscription"
}
]
}
},
{
"@type": "ListItem",
"position": 12,
"item": {
"@type": "Course",
"@id": "https://realpython.com/courses/understand-list-comprehensions/",
"url": "https://realpython.com/courses/understand-list-comprehensions/",
"name": "Understanding Python List Comprehensions",
"description": "Python list comprehensions make it easy to create lists while performing sophisticated filtering, mapping, and conditional logic on their members. In this course, you'll learn when to use a list comprehension in Python and how to create them effectively.",
"provider": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
},
"hasCourseInstance": {
"@type": "CourseInstance",
"courseMode": "Online",
"courseWorkload": "PT51M59S"
},
"offers": [
{
"@type": "Offer",
"category": "Subscription"
}
]
}
},
{
"@type": "ListItem",
"position": 13,
"item": {
"@type": "Course",
"@id": "https://realpython.com/courses/flatten-list-of-lists/",
"url": "https://realpython.com/courses/flatten-list-of-lists/",
"name": "Flattening a List of Lists in Python",
"description": "Learn how to flatten a list of lists in Python. You'll use different tools and techniques to accomplish this task. First, you'll use a loop along with the .extend() method of list. Then you'll explore other tools, including reduce(), sum(), itertools.chain(), and more.",
"provider": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
},
"hasCourseInstance": {
"@type": "CourseInstance",
"courseMode": "Online",
"courseWorkload": "PT90M18S"
},
"offers": [
{
"@type": "Offer",
"category": "Subscription"
}
]
}
},
{
"@type": "ListItem",
"position": 14,
"item": {
"@type": "Course",
"@id": "https://realpython.com/courses/exploring-tuple-data-type-examples/",
"url": "https://realpython.com/courses/exploring-tuple-data-type-examples/",
"name": "Exploring Python's tuple Data Type With Examples",
"description": "In Python, a tuple is a built-in data type that allows you to create immutable sequences of values. The values or items in a tuple can be of any type. This makes tuples pretty useful in those situations where you need to store heterogeneous data, like that in a database record, for example.",
"provider": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
},
"hasCourseInstance": {
"@type": "CourseInstance",
"courseMode": "Online",
"courseWorkload": "PT95M3S"
},
"offers": [
{
"@type": "Offer",
"category": "Subscription"
}
]
}
},
{
"@type": "ListItem",
"position": 15,
"item": {
"@type": "Course",
"@id": "https://realpython.com/courses/python-sorting-data/",
"url": "https://realpython.com/courses/python-sorting-data/",
"name": "Sorting Data With Python",
"description": "In this step-by-step course, you\u2019ll learn how to sort in Python. You'll know how to sort various types of data in different data structures, customize the order, and work with two different ways of sorting in Python.",
"provider": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
},
"hasCourseInstance": {
"@type": "CourseInstance",
"courseMode": "Online",
"courseWorkload": "PT71M12S"
},
"offers": [
{
"@type": "Offer",
"category": "Subscription"
}
]
}
},
{
"@type": "ListItem",
"position": 16,
"item": {
"@type": "Course",
"@id": "https://realpython.com/courses/sets-python/",
"url": "https://realpython.com/courses/sets-python/",
"name": "Using Sets in Python",
"description": "Learn how to work with Python's set data type. You'll see how to define set objects in Python and discover the operations that they support. By the end of this course, you'll have a good feel for when a set is an appropriate choice in your own programs.",
"provider": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
},
"hasCourseInstance": {
"@type": "CourseInstance",
"courseMode": "Online",
"courseWorkload": "PT120M47S"
},
"offers": [
{
"@type": "Offer",
"category": "Subscription"
}
]
}
},
{
"@type": "ListItem",
"position": 21,
"item": {
"@type": "Course",
"@id": "https://realpython.com/courses/python-range-function/",
"url": "https://realpython.com/courses/python-range-function/",
"name": "The Python range() Function",
"description": "In this step-by-step course, you'll master the Python range() function, learn how its implementation differs in Python 3 vs 2, and see how you can use it to write faster and more Pythonic code.",
"provider": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
},
"hasCourseInstance": {
"@type": "CourseInstance",
"courseMode": "Online",
"courseWorkload": "PT48M37S"
},
"offers": [
{
"@type": "Offer",
"category": "Subscription"
}
]
}
}
]
}
| author | Real Python |
| twitter:card | summary_large_image |
| twitter:image | https://files.realpython.com/media/pcl-Python-Tricks-Chapter-on-Data-Structures_Watermarked.01bffa7044af.jpg |
| og:image | https://files.realpython.com/media/pcl-Python-Tricks-Chapter-on-Data-Structures_Watermarked.01bffa7044af.jpg |
| twitter:creator | @realpython |
| og:type | article |
Links:
Viewport: width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover
Robots: max-image-preview:large