polars VS DataFrames.jl

Compare polars vs DataFrames.jl and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
polars DataFrames.jl
144 9
26,043 1,690
6.1% 1.1%
10.0 7.0
3 days ago 4 days ago
Rust Julia
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

polars

Posts with mentions or reviews of polars. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-08.

DataFrames.jl

Posts with mentions or reviews of DataFrames.jl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-30.
  • Julia's latency: Past, present and future
    1 project | news.ycombinator.com | 1 Apr 2023
    I don't think we've seen the final state of it though. v1.9 really gives people the proper tools for solving latency problems. Before, invalidations hurt a little, but it was also kind of a wash because LLVM code didn't precompile, so you could spend time setting up a Snoopprecompile and fix some invalidations and end up LLVM bound saving 1 second out of 20. But with package images it's almost always better to fix precompilation. The only thing hampering time much now is the `using` time went up, but as mentioned in the Reddit post there's a lot of ideas for what to do there. The other thing is package extensions, which cut down the amount of code to load. There's tons of PRs floating around the ecosystem turning things into extensions, and thus cutting down the overall code that is actually ran and loaded.

    This means that in a few months, people will start to see some major tangible benefits from following the compilation improvement practices laid out here and https://sciml.ai/news/2022/09/21/compile_time/. I think then you'll have a lot more people start to take all of these new tools seriously and it will be standard to incorporate them into packages. Right now they are still kind of niche things for packages with known TTFX problems, but I think come v1.9 you'll see every major package use all of these methods.

    > Different packages are affected differently

    I think this is one of the pieces that's effected by this. I don't think "Julia has become optimised for running Plots.jl" is quite correct. Julia's compilation and runtime is much more optimized for well-inferred code, which Plots.jl is not. However, the compiler developers have been using Plots.jl as a test case for all of these new tools, and therefore its SnoopPrecompile and invalidations have gotten some dramatic improvements because those required ecosystem changes I mentioned are being done by the compiler team for this specific package. Plots.jl had things like precompilation snooping way back before there was even a package for it, the earliest I know of was around v1.0. Meanwhile, DataFrames.jl only setup its precompilation snooping 7 months ago (https://github.com/JuliaData/DataFrames.jl/pull/3182), which I would presume was just in time for the v1.8 mark on your plot and is one of the big reasons for having a sudden drop (which continues into v1.9 because of package images).

    What I mean to say then is that, I think all packages will get the improvements we've seen from Plots.jl, but package authors will need to update their packages in order for that to happen. Some packages have already done this, many have not.

  • IJulia: The Julia Notebook
    2 projects | dev.to | 30 Mar 2023
    IJulia also supports viewing and manipulating tables. To create a table, first install the DataFrames.jl package by running the following command in a new cell:
  • Machine learning with Julia - Solve Titanic competition on Kaggle and deploy trained AI model as a web service
    13 projects | dev.to | 17 Feb 2023
    It were just a few percents of all possible manipulations that you can do with data using DataFrames.jl library. Read more about it in the documentation.
  • Unleashing the Power of Julia: Top 5 Must-Have Packages
    2 projects | dev.to | 27 Jan 2023
    DataFrames.jl
  • Automate the boring stuff with Julia?
    3 projects | /r/Julia | 27 Mar 2022
    DataFrames.jl and XLSX.jl for JSON, CSV, and XLSX files
  • What would it take to recreate dplyr in Python?
    3 projects | news.ycombinator.com | 17 Jan 2022
  • Dataframes.jl version 1.0: Tools for working with tabular data in Julia
    1 project | news.ycombinator.com | 6 May 2021
  • Teaching Python
    3 projects | /r/learnpython | 30 Apr 2021
    Julia also has the CSV.jl library for reading/writing csv files, the DataFrames.jl library for manipulating data like pandas, and Images.jl for image processing/analysis. However, since Julia is so much newer than Python, the Julia libraries are almost never as feature rich as their Python counterparts.
  • Polars (Rust DataFrame library) join algorithm fastest in db-benchmark
    2 projects | /r/rust | 12 Mar 2021
    Looks like it's single threaded according to this open issue: https://github.com/JuliaData/DataFrames.jl/issues/2626

What are some alternatives?

When comparing polars and DataFrames.jl you can also consider the following projects:

vaex - Out-of-Core hybrid Apache Arrow/NumPy DataFrame for Python, ML, visualization and exploration of big tabular data at a billion rows per second 🚀

Tables.jl - An interface for tables in Julia

modin - Modin: Scale your Pandas workflows by changing a single line of code

DataFramesMeta.jl - Metaprogramming tools for DataFrames

arrow-datafusion - Apache DataFusion SQL Query Engine

Plots.jl - Powerful convenience for Julia visualizations and data analysis

datatable - A Python package for manipulating 2-dimensional tabular data structures

MPI.jl - MPI wrappers for Julia

Apache Arrow - Apache Arrow is a multi-language toolbox for accelerated data interchange and in-memory processing

Curry.jl - Currying for Julia

db-benchmark - reproducible benchmark of database-like ops

ScikitLearn.jl - Julia implementation of the scikit-learn API https://cstjean.github.io/ScikitLearn.jl/dev/