Handling Feather data
Feather is a file format that provides binary columnar serialization of data. Feather files use the Apache Arrow data format for data frame storage. This format is supported for data exchange across many platforms, including Python and GNU R.
Getting ready
In this recipe, you will learn how to useFeather.jl
to store and retrieve aDataFrame
object. The Feather.jl
andDataFrames.jl
packages can be installed with the Julia package manager. Additionally, the packages RCall.jl
and PyCall .jl
will be used to illustrate our examples in R and Python (see the Calling R from Julia and Calling Python from Julia recipes for more details on how those packages work). In the Julia command line, press]and run the following commands:
(v1.0) pkg> add DataFrames (v1.0) pkg> add Feather (v1.0) pkg> add RCall (v1.0) pkg> add PyCall (v1.0) pkg> add Conda
This will install the requiredpackages and all their dependencies.
Note
In the GitHub repository for this recipe, you will find the...