Hi , why np.unique return list instead of list in this function ? def unique_item_df(df,list_var):
l = df.select(list_var).distinct().collect() return np.unique(l) df it s data frmae and list it lits of variables . (pyspark) code thanks .
Hi , why np.unique return list instead of list in this function ? def unique_item_df(df,list_var):
l = df.select(list_var).distinct().collect() return np.unique(l) df it s data frmae and list it lits of variables . (pyspark) code thanks .