Microsoft interview question

when would you use pyspark vs python