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

Keyword search raises IndexError exception if search result is empty and output format is pandas #244

Closed
DavidIRoitman opened this issue Jul 15, 2020 · 0 comments

Comments

@DavidIRoitman
Copy link
Contributor

Line that raises the exception is 245 in alphavantage.py:
data_pandas = pandas.DataFrame(data_array, columns=[
k for k, _ in data[0].items()])

Raised because data is empty.

DavidIRoitman added a commit to DavidIRoitman/alpha_vantage that referenced this issue Jul 15, 2020
…s Issue RomelTorres#244

Signed-off-by: David Roitman <david.i.roitman@gmail.com>
PatrickAlphaC added a commit that referenced this issue Aug 21, 2020
Fixed exception from empty search results when output is pandas. Fixes Issue #244
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

2 participants