Parameters explained. Using CSV.jl, DataFrames.jl, dealing with StringEncodings.

The first step in any data analysis is to get the data. There’s arguably no easier way than to load a CSV file into a data frame. In this tutorial, we will explore how to do that in Julia Programming Language.

Unlike python’s pandas read_csv the functions in Julia are separated into two modules — CSV.jl and DataFrames.jl and there is more than one way how to combine them. In this guideline we will see:

  • 3 ways how to load CSV to the data frame
  • non-UTF-8 encodings
  • explain the most common parameters of the CSV method
  • how to install Julia and run it in Jupyter Notebook

The full tutorial’s code is accessible via GitHub — Read_CSV.ipynb.

#julia #data-analysis #dveloper #programming

Read CSV to Data Frame in Julia (Programming Lang)
5.30 GEEK