PySpark – unionByName()

pyspark-mytechmint

In Spark or PySpark let’s see how to merge/union two DataFrames with a different number of columns (different schema). In Spark 3.1, you can easily …

Read More ➜

PySpark – collect()

pyspark-mytechmint

PySpark RDD/DataFrame collect() is an action operation that is used to retrieve all the elements of the dataset (from all nodes) to the driver node. We should …

Read More ➜

PySpark – show()

pyspark-mytechmint

PySpark DataFrame show() is used to display the contents of the DataFrame in a Table Row and Column Format. By default, it shows only 20 …

Read More ➜