The Real Python Podcast cover image

Using NumPy and Linear Algebra for Faster Python Code

The Real Python Podcast

00:00

Using a List of Lists in a 2D Array

This is like something that I would do often early on when I was learning Python. When you have a structure like a list of lists or a list of tuples, and you essentially need to extract say the first element of every tuple or every nested list. So this sort of like cuts out a lot of time. But again, we'll come back to when maybe it's not going to be so efficient.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app