November 2017
Beginner
316 pages
6h 40m
English
Arguably, this is the most important and commonly used data type in statistical computing, whether it is in R (data.frame) or Python (Pandas). This is due to the fact that all the real-world data is mostly in a tabular or spreadsheet-like format. This cannot be represented by a simple DataArray.
To use DataFrames, add the DataFrames package from the registered packages of Julia:
julia> Pkg.update()julia> Pkg.add("DataFrames")julia> using DataFrame
Let’s start by creating a simple data frame:
julia> df = DataFrame(Name = ["Julia", "Python"], Version = [0.5, 3.6])2×2 DataFrames.DataFrame│ Row │ Name │ Version │├─────┼──────────┼─────────┤│ 1 │ "Julia" │ 0.5 ││ 2 │ "Python" │ 3.6 │
This dataset, for example, ...
Read now
Unlock full access