Course Content

Exercise 10: Pickling Iris | Python Tutorials For Absolute Beginners In Hindi #85

Problem Statement:

The task you have to perform is “Pickling Iris.” For this, Check the UC Irvine Machine Learning Repository site to get the dataset. You can search the Iris dataset through their searchable interface. Follow the following steps to download the dataset:

  • Go to
  • On Most Popular Data Sets, you will see the name “Iris.”
  • Open the Iris dataset.
  • Click on the Data folder. A new tab will open, which contains some files.
  • Click on the Iris. data file to download the text file.

After saving Iris. data file, parse it using the split() function or using a new line approach. The method of parsing is up to you.

The main task is to get the list of lists that you will pickle. And after creating the pickle, write a code to read it. For downloading the Iris dataset, use the request module.

Have you solved this task? If yes, then it is time to check your solution. The solution is discussed in tutorial#94.

Keep supporting and stay up to date with codewithharry.



Code as described/written in the video

# pickle
# Use requests module to download the iris dataset


1decoder1 3 months, 2 weeks ago
hello harry bhiii


No downloadable resources for this video. If you think you need anything, please post it in the QnA!

Course Announcements

Any Course related announcements will be posted here