Tag: SparkExamples

PySpark @ Freshers.in

PySpark : Combine two or more arrays into a single array of tuple

pyspark.sql.functions.arrays_zip In PySpark, the arrays_zip function can be used to combine two or more arrays into a single array of…

Continue Reading PySpark : Combine two or more arrays into a single array of tuple
PySpark @ Freshers.in

PySpark : How to read date datatype from CSV ?

We specify schema = true when a CSV file is being read. Spark determines the data type of a column…

Continue Reading PySpark : How to read date datatype from CSV ?