Question: for each stock in python, calculate 4 attributes including: (1) the max mean stock return, (2) the month of the max mean stock return, (3)
for each stock in python, calculate 4 attributes including: (1) the max "mean stock return", (2) the month of the max "mean stock return", (3) the min "mean stock return", and (4) the month of the min "mean stock return". Prepare the results as a dataFrame (stocks on rows and the 4 attributes on columns). Make sure the month is rendered as integer
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
