Ironhack logo

Lab | Dicts, Sets, and Tuples

Introduction

Dicts, Sets, and Tuples are alternative data structures in Python to Lists which allow you to do different things. In this lab you will practice with these data structures and become proficient at using them.

Getting Started

Respond to the questions in Challenge 1, 2, and 3. Refer to the references if you are stuck.

Deliverables

  • challenge-1.ipynb, challenge-2.ipynb, and challenge-3.ipynb with your responses to each of the exercises.

Submission

Upon completion, add your deliverables to git. Then commit git and push your branch to the remote.

References

How to check if a tuple contains an element in Python?

Python Sets Examples and Methods

Python Dictionary Examples and Methods

How to sort a dictionary by values in Python

Convert Python dict into a dataframe

pandas.DataFrame.sort_values