pyspark.sql.GroupedData.cogroup

GroupedData.cogroup(other: GroupedData) → PandasCogroupedOps

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

New in version 3.0.0.

See PandasCogroupedOps for the operations that can be run.