course content

Course Content

Python for Data Science: Handwritten Digits Recognition

Dataset ImportDataset Import

You will start by importing the data you need for future analysis.

The fetch_openml function (from the sklearn.datasets module, which is part of the popular scikit-learn library for machine learning in Python) is used to download and load available datasets in the OpenML repository. In this case, it is used to download the MNIST dataset, which is a well-known dataset of handwritten digits that is often used for image classification tasks.


  1. Import fetch_openml from sklearn.datasets;
  2. Pass this dataset id: "mnist_784" to fetch_openml.

Once you've completed this task, click the button above the code to check your solution.

Everything was clear?

Section 1. Chapter 2