apply()
instead¶math.sqrt
)lambda
, as in lambda name: 'Mr.' in name
map()
map()
supports Python dictionariesreplace()
which doesn't support functions...so many options!swifter
or multiprocessing
View the notebook exercise-1.ipynb
in this Deepnote project.
Duplicate the project and answer Questions 1-4 in the Exercise 1 notebook.
Your instructor will explain how we will present and discuss our answers together.
View the notebook exercise-3.ipynb
in your own copy of the same Deepnote project.
It asks you to envision an imaginary scenario of several data tables. You have to answer Questions 1-3 with plans for how you would write code to answer questions in that situation, using either the map-reduce or split-apply-combine paradigms, as needed.
No actual coding is required.
Your instructor will explain how we will present and discuss our answers together.