PYSPARK BASIC CONCEPTS PART-2
6. Transformations and Actions Copy Text Copied Use a different Browser “”” Transformations (Lazy): – map() – filter() – flatMap() – union() Actions (Eager): – collect() – count() – take() – first() “”” 7. Reading CSV File Copy Text Copied Use a different Browser # Basic read df = spark.read.csv(“path/to/file.csv”) # With options df = … Read more