Screenshot-2021-11-19-at-01-48-12 hosted at ImgBB — ImgBB
Course Name: Python for Trading: Basic, Section No: 8, Unit No: 15, Unit type: Exercise
Hi Alvaro,
In the output, there are three elements:
1.) The first five rows of dataframe infy (some columns are not visible due to the high number of columns. You can understand this from '…' in the output between columns).
2.) The first five rows of dataframe tcs (same situation).
3.) The correlation between two prices (0.5284528822821024)
You may use .corr() function as df1.corr(df2) if there are two price series.
Hope this helps.