Relative Content

Tag Archive for pythonscalaapache-sparkpyspark

conditional split based on list of column

I have a dataframe having 2 column – “id” (int) and “values” (list of struct). I need to split on name. I have a list of column names as delimiter. I need to check the occurence of column names from the list, if one of the column name is present , then split the dataframe.