Module 10

What is a Python library?

Code written by others that you can reuse.

Standing on the shoulders of others

A library is a collection of code written by others that you can use in your own programs. Instead of writing everything from scratch, you can import tools that already exist.

Why it matters

Scientific Python is built on libraries. NumPy, pandas, and Matplotlib are the foundation of data analysis in Python.

What is a library?