If I use df to estimate a linear regression employing GLM, it works well, and I can call the variables by their column names. However, if I try julia.eval("names(df)"), I get undefined! When printing df to the console, this is what I get (see that names:undefined):
Importing the file in the exact same way using Julia outside Node actually gives me column names when using names(df), so I believe it's an issue with node-julia, rather than with the dataset. Any hint on what's happening?
I'm using node-julia to import a csv file into a dataframe in the following way:
If I use
df
to estimate a linear regression employing GLM, it works well, and I can call the variables by their column names. However, if I tryjulia.eval("names(df)")
, I get undefined! When printingdf
to the console, this is what I get (see that names:undefined):Importing the file in the exact same way using Julia outside Node actually gives me column names when using
names(df)
, so I believe it's an issue with node-julia, rather than with the dataset. Any hint on what's happening?