Skip to content
Prev 327147 / 398502 Next

Adding List Elements To A Data Frame

Folks:

I think it worth noting that the solutions provided by Brian and
David, which look exactly the same when print()ed, are entirely
different beasts. Brian's gives a column of strings; David;s gives a
column of lists (a list of lists). str() will provide details.

Both solutions are "correct" -- and point out the dangers of posting a
poorly specified question without context. You get what you pay for. I
have no idea which, if either, is "correct". That depends entirely on
the unspecified use to which you wish to put the result.

Cheers,
Bert
On Fri, Jul 19, 2013 at 2:49 PM, Rui Barradas <ruipbarradas at sapo.pt> wrote: