i
MakeMyTrip
Filter interviews by
Coding questions on sde profile
Coalesce and repartition are both methods used in Pyspark for reducing the number of partitions in a DataFrame.
Coalesce is used to reduce the number of partitions without shuffling the data, while repartition involves shuffling the data to create a specified number of partitions.
Coalesce is more efficient when reducing the number of partitions, as it avoids shuffling the data unnecessarily.
Repartition is useful when yo...
Top trending discussions
based on 1 interview
Interview experience
Senior Software Engineer
317
salaries
| ₹12 L/yr - ₹33 L/yr |
Assistant Manager
272
salaries
| ₹4.8 L/yr - ₹18 L/yr |
Senior Business Development Manager
240
salaries
| ₹5 L/yr - ₹12 L/yr |
Holiday Expert
229
salaries
| ₹0.6 L/yr - ₹6.7 L/yr |
Senior Executive
202
salaries
| ₹2 L/yr - ₹9 L/yr |
Cleartrip
Yatra
Goibibo
Oyo Rooms