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

dropna parameter not working with pairplot? #1087

Closed
fizix00 opened this issue Jan 7, 2017 · 1 comment
Closed

dropna parameter not working with pairplot? #1087

fizix00 opened this issue Jan 7, 2017 · 1 comment

Comments

@fizix00
Copy link

fizix00 commented Jan 7, 2017

I have a dataframe called returns that has NaN values in the first row.

When I do sns.pairplot(returns[1:]) or sns.pairplot(data=returns.dropna()), there's no problem. However, when I try sns.pairplot(data=returns, dropna=True), I get the following error: ValueError: max must be larger than min in range parameter.

As far as I can tell, all three approaches should've yielded the same result.

@mwaskom
Copy link
Owner

mwaskom commented Jan 7, 2017

No, unfortunately it doesn't. pairplot doesn't currently work well with dataframes that have heterogeneous missing data. There was some work on it (#409) but it stalled out.

@mwaskom mwaskom closed this as completed Jul 7, 2017
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