finalval.selectExpr("split(accountID, ',')[0] as accountID","split(accountID, ',')[1] as accountID")
+----------+----------+ | accountID| accountID| +----------+----------+ |1190000152|1190000279| +----------+----------+ how to bring second column value under first column?