Apache Spark 2.x Cookbook: Cloud-ready recipes for analytics and data science