Search for tag: "lists"
Understanding the Python Package EcosystemSchedule 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…
From Jacob Grippin
16 plays
|
|
Section 10/19/21: data structures for treesZoom Recording ID: 95071859677 UUID: I9oDNFt7Sfm4q0Y1iLzJTg== Meeting Time: 2021-10-19T18:31:00Z
From Madeleine Udell
31 plays
|
|
e-list management - renewal processCornell 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…
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-LoopsIn 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…
From Hannah Lee
72 plays
|
|
Zoom Oct. 22. More RecursionThe 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…
From Hannah Lee
63 plays
|
|
Lesson 19.4 Nested DictionariesIn 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…
From Hannah Lee
77 plays
|
|
Lesson 19.1 Dictionary ExpressionsIn 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.
From Hannah Lee
94 plays
|
|
Lesson 18.6 Mutable Table FunctionsIn 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.
From Hannah Lee
73 plays
|
|
Lesson 18.5 Immutable Table FunctionsIn 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…
From Hannah Lee
80 plays
|
|
Lesson 18.4 Nested SlicingSlicing 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…
From Hannah Lee
83 plays
|
|
Lesson 18.2 Nested ListsIn 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.
From Hannah Lee
88 plays
|
|
Lesson 18.1 List of ObjectsLists 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…
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…
From Hannah Lee
18 plays
|
|
Lesson 16.6 Mutable For-LoopsLists 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…
From Hannah Lee
77 plays
|
|
Lesson 16.3 AccumulatorsOne 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.
From Hannah Lee
100 plays
|