January 2020
Intermediate to advanced
312 pages
10h 22m
English
Chapter 2. Accelerating large dataset work: Map and parallel computing
Listing 2.1. Formatting phone numbers with a for loop
Listing 2.2. A class for reformatting phone numbers with map
Listing 2.3. Applying the .pretty_format method to phone numbers
Listing 2.4. A date range generating function
Listing 2.5. Web scraping in parallel
Listing 2.6. Classic fizz/buzz problem with a for loop
Listing 2.7. A function for retrieving a Wikipedia page’s network from its title
Chapter 3. Function pipelines for mapping complex transformations
Listing 3.1. Replacement helper functions
Listing 3.2. Split on Chinese characters function
Listing 3.3. Chaining functions by sequencing maps
Listing 3.4. Using compose to create a function pipeline ...