79193651

Date: 2024-11-15 19:04:49
Score: 1
Natty:
Report link

Repartition with coalesce can be used:

x_repartitioned = x.coalesce(y.getNumPartitions())  # Match partitions of y
z = x_repartitioned.zip(y).collect()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: samhita