Question:
I have a data frame with a character column that contains comma-separated numbers. How can I put each comma-separated number into single quotation marks?Consider the illustrative example below. Basically, I would like to transform data frame
df1
into data frame df2
.If you have better answer, please add a comment about this, thank you!