new examples of pyspark calculations