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

[Bug] /stocks/load aapl/ca/tsne - Error: Input contains NaN. Error: 'list' object has no attribute 'iloc' #5175

Closed
deeleeramone opened this issue Jun 23, 2023 · 5 comments · Fixed by #5289
Labels
bug Fix bug

Comments

@deeleeramone
Copy link
Contributor

Installer version 3.1.0:

/stocks/load aapl/ca/tsne

Screenshot 2023-06-23 at 9 25 17 AM

@deeleeramone deeleeramone added the bug Fix bug label Jun 23, 2023
@jmaslek
Copy link
Collaborator

jmaslek commented Jun 23, 2023

This one is silly: if you look at my daily csv that gets loaded:

https://github.com/jmaslek/daily_sp_500/blob/main/SP500_prices_1yr.csv

There are 3 rows that have no values (today), but if I run it locally, I get them. Will try to retrigger the generation.

@jmaslek jmaslek closed this as completed Jul 13, 2023
@deeleeramone
Copy link
Contributor Author

The error persists still, reopening.

@deeleeramone deeleeramone reopened this Jul 27, 2023
@jmaslek
Copy link
Collaborator

jmaslek commented Aug 7, 2023

This should be closer to fixed. For some reason yf was pulling some nans. If you look where this is getting data:

https://github.com/jmaslek/daily_sp_500

I added a fillna in case that happens.... better case would be to use a better api

@deeleeramone deeleeramone linked a pull request Aug 10, 2023 that will close this issue
@jmaslek jmaslek closed this as completed Aug 16, 2023
@Elikutter75
Copy link

Hi, I got the same issue today (but yesterday it was working perfectly)
image

@RylandCapital
Copy link

still happening. nothing works, tried 10 tickers

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

Successfully merging a pull request may close this issue.

4 participants