Just found it works on DataArray:

julia> da = DataArray(["A", "B", "C"])
3-element DataArray{ASCIIString,1}:
 "A"
 "B"
 "C"

julia> da * "T"
3-element DataArray{Any,1}:
 "AT"
 "BT"
 "CT"

On 2014年07月25日 11:57, cnbiz850 wrote:
That sounds confusing. You just mentioned that "Vector{String} is semantically equivalent to Array{String, 1}".

On 2014年07月25日 11:53, John Myles White wrote:
Arrays of strings aren’t part of a vector space. There’s no reason you should be able to multiply them by a scalar.

  — John




Reply via email to