Assignment 1 Review¶
1. There is an SQLite3 database flowers.db
in the data
sub-directory. Read this into a pandas
DataFrame, and show lines
5-10 of the DataFrame.
In [ ]:
2. Summmarize the mean and coefficient of variation of each
measuremnt by species
.
In [ ]:
3. Make a multi-plot figure containing boxplots where the x-axis is the Species and the y-axis is one of the four measurements.
In [ ]:
4. Add 2 columns pc1
and pc2
to the Datafame, where pc1
and pc2
are the first two principal componennts of the 4
measurements.
In [ ]:
5. Save the DataFrame to a CSV file, not including the index.
In [ ]: