
This course introduces the dictionary data structure and user-defined functions. Youâll learn about local and global variables, optional and keyword parameter-passing, named functions and lambda expressions. Youâll also learn about Pythonâs sorted function and how to control the order in which it sorts by passing in another function as an input. For your final project, youâll read in simulated social media data from a file, compute sentiment scores, and write out .csv files. It covers chapters 1
Paul Resnick
University of Michigan School of Information
Steve Oney
School of Information