I currently have some tickers and data from yahoo finance gained through datareader for Python. I have got everything for the dataframe in relation to numbers except the industry from the profile of the ticker. I was wondering if there is any code that would work that would show the industry for the following ticker displayed through the profile page of yahoo?
Code Below:
import pandas_datareader.data as pdr
Tickers=['SBUX','TLRY']
SD='2005-01-31'
ED='2018-12-31'
TickerW=pdr.datareader(Tickers,'yahoo',SD,ED)
TickerW.head()
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.