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
Interview experience
Senior Software Engineer
314
salaries
| ₹13 L/yr - ₹33 L/yr |
Assistant Manager
272
salaries
| ₹4.8 L/yr - ₹18.9 L/yr |
Holiday Expert
229
salaries
| ₹0.6 L/yr - ₹6.7 L/yr |
Senior Business Development Manager
216
salaries
| ₹4.5 L/yr - ₹12 L/yr |
Deputy Manager
172
salaries
| ₹7 L/yr - ₹24.5 L/yr |
Cleartrip
Yatra
Goibibo
Oyo Rooms