£199.99 £139.99 for one year of Unlimited learning. Offer ends on 14 November 2022 at 23:59 (UTC). T&Cs apply

Find out more
What exactly are data structures?
Skip main navigation

What exactly are data structures?

Learn about what exactly are data structures.
0.1
(upbeat music) So, we've been learning about Data Structures. But what exactly is it? Where did this idea come from? And what does Python see it as? Data Structures are essentially disjoint unique sets that have different properties based on their set membership, as math would define it. For example, Ints, have the property that they are rounded down or flawed if divided into non-integer valued numbers, but Floats are not held by these same restrictions. This is similar to how the Natural number sets and the Real number sets work in mathematical analysis. Python has this information encoded into something we will learn soon called objects.
47.1
Essentially, some objects or sets have certain properties that allow a very specific set of operations on them. Set Theory is a very interesting field of mathematics. And if you have further interest in understanding how Python works, learning some basic Set Theory could really help. In fact, code, is just an abstract representation of how formal Advanced Mathematics is written that allows us to perform computations that would normally be unwieldy to perform by hand.

As seen earlier, Python has four in-built data structures that are used to store and organise the data in an efficient way. These are Lists, Tuples, Sets, and Dictionary. But, what exactly are data structures, where did this idea come from and what did Python see it as?

Watch the video to learn what exactly a data structure is.

This article is from the free online

Data Analytics and Python Fundamentals

Created by
FutureLearn - Learning For Life

Our purpose is to transform access to education.

We offer a diverse selection of courses from leading universities and cultural institutions from around the world. These are delivered one step at a time, and are accessible on mobile, tablet and desktop, so you can fit learning around your life.

We believe learning should be an enjoyable, social experience, so our courses offer the opportunity to discuss what you’re learning with others as you go, helping you make fresh discoveries and form new ideas.
You can unlock new opportunities with unlimited access to hundreds of online short courses for a year by subscribing to our Unlimited package. Build your knowledge with top universities and organisations.

Learn more about how FutureLearn is transforming access to education