You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
I have a dataframe called
returns
that hasNaN
values in the first row.When I do
sns.pairplot(returns[1:])
orsns.pairplot(data=returns.dropna())
, there's no problem. However, when I trysns.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.
The text was updated successfully, but these errors were encountered: