Hello all, I'm trying to select a column from a DataFrame using a 
variable... something like this

df = DataFrame(A=[1:10], B=[11:20])

when i do this:

df [ : 2]

i select column B

if i do this:

t = 2
df [ : t] 

i get an error

Error Key not found  :t

what am i missing??

Thank you in advance,

Jason

Reply via email to