scala vs python for spark