This workshop will introduce you to the NumPy library in Python, which is useful in scientific computing. We will cover NumPy’s n-dimensional array object and associated functions in depth, along with related linear algebra and random number capabilities. Some familiarity with Python is expected. Computers will be available to complete exercises.
This workshop introduces participants to Python’s NumPy, Pandas DataFrames, Matplotlib and StatsModels using an advertising dataset. Participants will use these tools to model (OLS) associations between advertising expenditures and product sales in example data. We will start with an introductory explanation of Anaconda and the Jupyter notebook environment (although not required for the participant, the instructor will be using these tools). We will proceed with topics including: reading data files; creation, indexing and slicing of Pandas DataFrames; creation and handling of Matplotlib objects; and creation and interpretation of models using Python’s StatsModels. Although not required, we recommend that participants have a basic knowledge of Python.