How to get remote from Yahoo Finance

According to the “datareader” official site, to access the remote Yahoo Finance Data, it is suggested to use the following code: These codes will pop up an error message: “TypeError: string indices must be integers”. Here is a solution to help you to get the Yahoo Finance remote data. At first, install yfinance by Then,…