Split one row into multiple rows [duplicate]

You can use ‘separate_rows’ from “tidyr” package:

df = separate_rows(df,1,sep = ",")

Leave a Comment