PySpark is not creating Dataframe inside the function, when parameters are passed when calling the function
I want to create the dataframe using functions.
I have a list of Countries as Row objects.
like below:
I want to create the dataframe using functions.
I have a list of Countries as Row objects.
like below: