Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Foundation from the Python Data Science Handbook

English · فارسی

Foundation from the Python Data Science Handbook

This initial part of the course covers the fundamental tools required for data science in Python. The content directly corresponds to the first four chapters of Jake VanderPlas’s excellent book, the Python Data Science Handbook (PDSH).

Instead of reproducing the material here, we strongly encourage you to study these chapters directly from the source. They are considered essential prerequisites for the subsequent sections of this course.

You can access the full book online for free: Python Data Science Handbook (Online Version)

Exercises

  1. Install the environment described here, open the first notebook of the chapter and report the NumPy and Matplotlib versions you get.

  2. Time a dot product of two vectors of length 106 with a Python loop and with NumPy, and explain the factor you observe.

  3. Explain what %matplotlib inline does and when you still need plt.show().