Azure – how to make dataframe select query generic in pyspark
Description : I have a list of column names which I need. I want to check if all these columns names are present in dataframe.if some columns are present then use those columns and make a generic code like Df1=df.select(df[column1],df(column2])…