Search for tag: "lists"

Understanding the Python Package Ecosystem

Schedule a consultation There are many free resources that you can use for further learning.linkedin learning free with Cornell sign in. https://www.linkedin.com/learning/?u=76816458…

+19 More
From  Jacob Grippin 16 plays

Section 10/19/21: data structures for trees

Zoom Recording ID: 95071859677 UUID: I9oDNFt7Sfm4q0Y1iLzJTg== Meeting Time: 2021-10-19T18:31:00Z

+19 More
From  Madeleine Udell 31 plays

e-list management - renewal process

Cornell e-lists must be renewed on an annual basis. Each year the owner and any secondary owners will be notified of which e-lists are active and you will have the option to either renew or…

+19 More
From  ga.wsbnit 22 plays

Lesson28.8 List Comprehension (OPTIONAL)

This video is not optional because the material is advanced. It is optional because this video series has run long and this topic is less important for you to know. When we are done with out…

From  Hannah Lee 26 plays

Lesson 26.6 Mutable While-Loops

In this video we show that the one place we typically prefer while-loops is when we are modifying a list or other mutable iterable. While we did see how to do this with for-loops (by looping over…

+19 More
From  Hannah Lee 72 plays

Zoom Oct. 22. More Recursion

The divide-and-conquer examples we saw in the previous session were on the easy side. In this session we look at some much more challenging examples.Included in this session is segregate, the most…

+19 More
From  Hannah Lee 63 plays

Lesson 19.4 Nested Dictionaries

In this video we show that we can nest dictionaries just like we nested lists. In fact, a lot of real world data is represented this way. We show off a particularly complicated JSON file that…

+19 More
From  Hannah Lee 77 plays

Lesson 19.1 Dictionary Expressions

In this video, we introduce a dictionary as a collection of key-value pairs. We also show how to write a dictionary expression in Python. It looks just like a JSON string, but without the quotes.

+19 More
From  Hannah Lee 94 plays

Lesson 18.6 Mutable Table Functions

In this video we show how to write a mutable function on a table of data. Once again, this is very similar to writing an mutable function on a traditional list.

+19 More
From  Hannah Lee 73 plays

Lesson 18.5 Immutable Table Functions

In this video we show how to write an immutable function on a table of data. In most ways this is no different than writing an immutable function on a list. Except that this time we may need multiple…

+19 More
From  Hannah Lee 80 plays

Lesson 18.4 Nested Slicing

Slicing a list creates a copy. In this video we show what this means for nested lists. In particular, we show that sometimes a copy is not really a copy after all, and that we have to distinguish…

+19 More
From  Hannah Lee 83 plays

Lesson 18.2 Nested Lists

In this video we show how to handle the special case when the objects inside of a list are other lists. In particular, we show how to chain together brackets to drill down into nested lists.

+19 More
From  Hannah Lee 88 plays

Lesson 18.1 List of Objects

Lists require that we explicitly show the folder when visualize them. In this video we show what that means when a list contains other objects that have their own folders. The result is a chain of…

+19 More
From  Hannah Lee 73 plays

Zoom Oct. 13. Lists (and Sequences)

In this session we review the two new sequence data types: tuples, and lists. This is the last material on the first prelim.For the most part these are similar to strings, and so we will do a lot of…

+19 More
From  Hannah Lee 18 plays

Lesson 16.6 Mutable For-Loops

Lists are mutables and support mutable functions. Many of these mutable functions contain for-loops. As we show in this video, this changes how we write the for-loop. In particular, we will not use…

+19 More
From  Hannah Lee 77 plays

Lesson 16.3 Accumulators

One of the techniques that we say in the previous video was the accumulator variable. In this video we show that this is a general technique used in a fruitful function that requires a for-loop.

+19 More
From  Hannah Lee 100 plays