Tag: DataFrame

PySpark @ Freshers.in

How to drop nulls in a dataframe : PySpark

For most of the data cleansing the first thing that you may need to do drop the nulls in the…

PySpark @ Freshers.in

In Spark how to replace null value for all columns or for each column separately-PySpark (na.fill)

Spark api : pyspark.sql.DataFrameNaFunctions.fill Syntax : fill(value, subset=None) value : “value” can only be int, long, float, string, bool or…