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
When grouping a DataFrame on multiple columns, and one of the columns contains a NaN value, the row will be excluded from the result, this is already documented here: #3729 and has an open issue.
But the .groups attribute includes these NaN rows, which is inconsistent with the groupby results.
When grouping a DataFrame on multiple columns, and one of the columns contains a NaN value, the row will be excluded from the result, this is already documented here: #3729 and has an open issue.
But the .groups attribute includes these NaN rows, which is inconsistent with the groupby results.
See this simple example:
The text was updated successfully, but these errors were encountered: