Answered step by step
Verified Expert Solution
Question
1 Approved Answer
5 . Choose the top 5 companies in terms of ESG score from dfASX 2 0 , and save the dataframe as dfASX 5 .
Choose the top companies in terms of ESG score from dfASX and save the dataframe as dfASX Print out dfASX
Use yfinance package to obtain the monthly share price data for those companies from Yahoo! Finance for the period December March named as df and calculate the monthly returns percentage returnnamed as dfr
For each stock, normalize the stock price to $ at the beginning of the period. Then visualize the timeseries movement of the normalized stock prices of those companies in one graph.
Show the summary statistics of the returns of those stocks. Use the bar plot to visualize the average returns of those stocks. Show the correlation matrix of the returns of those stocks.
Visualize the correlations using heatmap.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started