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

Reach your personal and professional goals

Unlock access to hundreds of expert online courses and degrees from top universities and educators to gain accredited qualifications and professional CV-building certificates.

Join over 18 million learners to launch, switch or build upon your career, all at your own pace, across a wide range of topic areas.

Start Learning now