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

Issue when trying to find correlations "TypeError: 'NoneType' object is not subscriptable" #643

Closed
k-nayak opened this issue Mar 7, 2022 · 6 comments

Comments

@k-nayak
Copy link

k-nayak commented Mar 7, 2022

Hello,
I am currently facing an error and i am still unable to figure out what the issue is.

Traceback (most recent call last):
File "C:\Users\NAK4SI\AppData\Roaming\Python\Python38\site-packages\dtale\views.py", line 114, in _handle_exceptions
return func(*args, **kwargs)
File "C:\Users\NAK4SI\AppData\Roaming\Python\Python38\site-packages\dtale\views.py", line 2923, in get_scatter
y_cols = [cols[1], idx_col]
TypeError: 'NoneType' object is not subscriptable

Is there any fix to it or is the problem with my dataset (.csv). Any help is appreciated thanks!

@aschonfeld
Copy link
Collaborator

@k-nayak without your actual data or at least the data data types of the columns I can't be 100% sure, but I will add some additional checks to gracefully handle this situation

@k-nayak
Copy link
Author

k-nayak commented Mar 11, 2022

Thanks for the quick response I am trying to visualize and find correlations using dtale, my data has multiple parameters and its recorded values. It is a time-series dataset. I am able to visualize some of the parameters using dtale but while attempting to compute correlations I face the above-mentioned error. Please do let me know if I can give any more info to figure out the issue.

@aschonfeld
Copy link
Collaborator

@k-nayak just released v2.1.0 let me know if the fix works. Also, if you haven't already, please put your ⭐ on the repo. Thanks 🙏

@k-nayak
Copy link
Author

k-nayak commented Mar 14, 2022

Thanks, the error no longer pops while trying to find the correlations.

But there seems to be a glitch I believe, when I try to select a certain variable the drop down menu is blank but the variables are still present. I am able to select but not see what I am trying to select.

GUI bug dtale

@aschonfeld
Copy link
Collaborator

@k-nayak sorry I have a fix for that, will let you know when it's in

aschonfeld added a commit that referenced this issue Mar 14, 2022
- #617: file loading on windows
- #643: correlation grid dropdown display
- #646: initial show/hide grid display
@aschonfeld
Copy link
Collaborator

@k-nayak just released v2.1.2 with the fix for this

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