damccorm opened a new issue, #21014:
URL: https://github.com/apache/beam/issues/21014

   ```
   
   df.groupby(['foo', 'bar'], dropna=False).sum()
   
   ```
   
   
   This will still drop NAs in the output.
   
   This is due to pandas bug 
[36470](https://github.com/pandas-dev/pandas/issues/36470) "BUG: groupby(..., 
dropna=False) excludes NA values when grouping on MultiIndex levels".
   
   We implement groupby by moving all grouped data into the index and requiring 
Index() partitioning, so we will always run into this issue, even when the user 
is grouping on columns, not indexes.
   
   Imported from Jira 
[BEAM-12495](https://issues.apache.org/jira/browse/BEAM-12495). Original Jira 
may contain additional context.
   Reported by: bhulette.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to