How to Replace Null Values in Spark DataFrames
Discussing how to replace null values in PySpark using fillna() and fill()
Published in
4 min readJul 19, 2021
Introduction
The replacement of null values in PySpark DataFrames is one of the most common operations undertaken. This can be achieved by using either DataFrame.fillna()
or DataFrameNaFunctions.fill()
methods. In today’s…