Skip main navigation

New offer! Get 30% off one whole year of Unlimited learning. Subscribe for just £249.99 £174.99. New subscribers only. T&Cs apply

Find out more

Practical Activity: Data Wrangling using Python

Apply what you've learned about wrangling data in an activity.
We are going to use the same set of data as well as the scenario that we have been using in the previous courses.

Dataset

If you can’t find the dataset, fret not! Feel free to download the same CSV file of the dataset, again, and get started with the activities in hand.

Download: Brazilian-fire-dataset.csv [1]

Download the file and save it under the file path as shown below:

dataset/brazilianfire.csv

Exercise

The activities in this module focus on data wrangling. In this case, you will create a DataFrame and conduct certain activities as prompted in the notebook.

Write the Python code according to instructions in the Jupyter Notebook for this module. Data wrangling activities would be an extension of what you learned and performed in the data ingestion tasks.

For the current activity, you will see that there are cells with the heading ‘TO DO – Activity’. Write the code in the code-cells after the activity mark-up cells.

Download: Data-Wrangling-using-Python-exercise.ipynb

Solution

Once you finish adding your codes and running them on the Notebook, be sure to compare your codes and outputs with the solution notebook provided to you here.

Download: Data-wrangling-using-Python-solution.ipynb

All the best for this exercise!

This article is from the free online

Data Wrangling and Ingestion using Python

Created by
FutureLearn - Learning For Life

Reach your personal and professional goals

Unlock access to hundreds of expert online courses and degrees from top universities and educators to gain accredited qualifications and professional CV-building certificates.

Join over 18 million learners to launch, switch or build upon your career, all at your own pace, across a wide range of topic areas.

Start Learning now