The DataFrames.jl package provides a vast array of procedures that allow you to manipulate tabular data with rows of heterogeneous types. However, you often have your data stored initially in a matrix. In this recipe, we discuss how you can convert such data to DataFrame. We also show how you can perform the reverse procedure, that is, transform the data from DataFrame to a value of a standard Matrix type available in Julia.
Converting data between DataFrame and Matrix
Getting ready
Make sure that you have the DataFrames.jl package installed. You can check this by writing this in the Julia command line:
julia> using DataFrames
If this command fails, then add the DataFrames.jl package, in accordance with the instructions...