pyspark.sql.GroupedData.cogroup

GroupedData.cogroup(other: GroupedData) → PandasCogroupedOps

Cogroups this group with another group so that we can run cogrouped operations.

See PandasCogroupedOps for the operations that can be run.