To be completed at the conclusion of Day 1
For the following exercises, you should use the data stored at ../data/companies.csv
You aren't expected to finish all the exercises; just get through as many as time allows and we will review them together.
Bonus: For these two exercises, you won't find examples of the solution in our notebooks. You'll need to search for help on the internet.
Don't worry if you aren't able to solve them.
To be completed at the conclusion of Day 2
This section again uses the data at ../data/companies.csv
.
Now open the pricing data at ../data/prices.csv
.
Note that this data is entirely fabricated and does not exhibit the qualities of real stock market data!
../data
directory.Bonus:
This data is in a form that is useful for plotting. But in this shape, it would be quite difficult to calculate the difference between each company's fourth quarter price and its first quarter price.
Reshape this data so it is of a form like the below:
Symbol | Name | Sector | Q1 | Q2 | Q3 | Q4 |
---|---|---|---|---|---|---|
AAPL | Apple Inc. | Information Technology | 275.20 | 269.96 | 263.51 | 266.07 |
From which we could easily calculate Q4 - Q1.
You will probably want to google something like "python reshaping data". This is a very challenging problem!