I was following allow with the YouTube Video on "Data Analysis in Julia with Data Frames (John Myles White)"
I got to the Convenience constructors section, dataeye, etc... however, I get the following in Julia 0.3.3:
julia> dm = dataeye(2)
ERROR: dataeye not defined
Where is the dataeye()
function located/defined?
BTW: where is the RDatasets, that is used in the video?
I think dataeye used to be in DataArrays (and hence DataFrames), it doesn't seem to be used anymore and I can't find it on github for either of these projects. It looks like it was a shorthand/is not written:
@data eye(2)
julia> @data eye(4)
4x4 DataArray{Float64,2}:
1.0 0.0 0.0 0.0
0.0 1.0 0.0 0.0
0.0 0.0 1.0 0.0
0.0 0.0 0.0 1.0
All I could find was this discussion saying they're not very useful (presumably they were then removed)...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With