I have a Dataset
of only 1 column to start with, and I want to StringJoin
every element there. Got the error message
StringJoin::string: String expected at position 1 in StringJoin[Dataset [<<33>>]].
Here is code to reproduce:
a = {1, 2, 3}
b = Dataset[ToString /@ a]
c = StringJoin[b]
Tried Normal[StringJoin[b]] & Normal[b]
, neither worked.
Thanks in advance.
StringJoin[(# & /@ Normal@b)]
is this what you're looking for? Edit: Commented before seeing WReach's answer. It's a really nice way of doing this! :) $\endgroup$