Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_financials is returning dictionary even when output_format='pandas' #7

Open
jpcam opened this issue Dec 1, 2021 · 0 comments
Open

Comments

@jpcam
Copy link

jpcam commented Dec 1, 2021

from iexfinance.stocks import Stock

stocks=Stock(['NEM','FCX'],token='my_token',output_format='pandas')
fins_data=stocks.get_financials(period='annual')
print(type(fins_data))

<class 'dict'>

the output has 2x 1 row and 70 columns . causing issues converting to a DF and merging with other DF outputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant