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
324
salaries
| ₹13.5 L/yr - ₹33 L/yr |
Assistant Manager
294
salaries
| ₹4.5 L/yr - ₹18.7 L/yr |
Holiday Expert
225
salaries
| ₹1 L/yr - ₹7 L/yr |
Senior Business Development Manager
217
salaries
| ₹4.5 L/yr - ₹12 L/yr |
Senior Executive
210
salaries
| ₹1.6 L/yr - ₹9 L/yr |
Cleartrip
Yatra
Goibibo
Oyo Rooms