YQL has different companies that are listed under an industry:

e.g. select * from yahoo.finance.industry where id="112"

Is there a way to query the table for a ticker symbol and find out to which industry the company belongs?


1 Answer 1


the package pandas_finance does the job :-)

from pandas_finance import Equity
aapl = Equity('AAPL')
  • $\begingroup$ Could you be so kind to tell us how with an example? $\endgroup$
    – Bob Jansen
    Feb 22, 2017 at 20:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.