pandas with Julia

Julia has a DataFrame package to handle operations on DataFrames. Benchmarking results has shown that pandas is the clear winner when it comes to speed and computational efficiency. Just like R, Julia allows us to integrate pandas in the script.

After installation, pandas can be loaded into the Julia environment directly, as shown:

Pkg.add("Pandas")
using Pandas
# Creating a dataframe object
df = DataFrame(Dict(:score=>[67, 89, 32], :name=>["A", "B", "C"]))

# Any Pandas function or method could be applied on the created dataframe.
head(df)
describe(df)
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset