Lab 02
Tables are a fundamental way of representing data sets. A table can be viewed in two ways:
• A sequence of named columns that each describe a single attribute of all entries in a data set, or
• A sequence of rows where each row contains all the attribute information about that entry in the data set
Data 8 uses a library consisting of many Table functions that will allow you to manipulate and visualize data.
All of the functions we will use in this course are listed on the Data 8 course webpage under Python Reference,
and a similar outline will be provided during exams.
1. Rise and Shine
Let’s look at an example table called weather.
The table has 8 rows, each corresponding to a day of the year. Each row has three attributes: the date, the
outdoor temperature in Celsius, and the number of students at lecture that day.
a. Using just the information provided in the weather table, can you generate the following tables and
visualizations? If not, what additional information do you need? Note: You do not need to know/write the
specifics of the code that you would use to generate these outputs.
YES/NO YES/NO
1