Stream: helpdesk (published)

Topic: Converting Columnar DataTypes


view this post on Zulip Nils (Mar 01 2021 at 17:16):

The second error tells you what to do? You need to iterate over eachcol(Attain[!, 4:11]) is you want to map a function to a set of columns.

view this post on Zulip QuBit (Mar 01 2021 at 18:03):

Nils said:

The second error tells you what to do? You need to iterate over eachcol(Attain[!, 4:11]) is you want to map a function to a set of columns.

@Nils

I attempted the following:

map(convert(Array{Float64,1}, eachcol(ED4[!, 7:11])))

Perhaps there is a more elegant presentation?

Thank you,


Last updated: Dec 28 2024 at 04:38 UTC