Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Trying to check if a column exist in a dataframe or not if not then i have to give NULL if yes then i need to give the column itself by using UDF

from pyspark import SparkContextfrom pyspark import SparkConffrom pyspark.sql.types import *from pyspark.sql.functions import *from pyspark.sql import *from pyspark.sql.types import StringTypefrom pyspark.sql.functions import udfdf1 = spark.read.form...

cuteabhi32 by New Contributor III
  • 13881 Views
  • 11 replies
  • 1 kudos
Labels