Loading video player…

Flattening a List of Lists in Python (Overview)

Sometimes, when you’re working with data, you may have the data as a list of nested lists. A common operation is to flatten this data into a one-dimensional list in Python. Flattening a list involves converting a multidimensional list, such as a matrix, into a one-dimensional list.

In this video course, you’ll learn how to do that in Python.

Download

Sample Code (.zip)

1.1 KB
Download

Course Slides (.pdf)

1.2 MB

Become a Member to join the conversation.