array_except In PySpark , array_except will returns an array of the elements in one column…
Tag: big_data_interview
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…
PySpark : Transforming a column of arrays or maps into multiple rows : Converting rows into columns
pyspark.sql.functions.explode_outer In PySpark, the explode() function is used to transform a column of arrays or maps into multiple rows, with…
Retrieving value of a specific element in an array or map column of a DataFrame.
pyspark.sql.functions.element_at In PySpark, the element_at function is used to retrieve the value of a specific element in an array or…
In PySpark how to sort data in descending order, while putting the rows with null values at the end of the result ?
pyspark.sql.Column.desc_nulls_last In PySpark, the desc_nulls_last function is used to sort data in descending order, while putting the rows with null…
In PySpark how sort data in descending order, while putting the rows with null values at the beginning ?
pyspark.sql.Column.desc_nulls_first In PySpark, the desc_nulls_first function is used to sort data in descending order, while putting the rows with null…
Comparing PySpark with Map Reduce programming
PySpark is the Python library for Spark programming. It allows developers to interface with RDDs (Resilient Distributed Datasets) and perform…