db-benchmark VS Pandas

Compare db-benchmark vs Pandas and see what are their differences.

db-benchmark

reproducible benchmark of database-like ops (by h2oai)

Pandas

Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more (by pandas-dev)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
db-benchmark Pandas
91 395
320 41,983
0.9% 1.4%
0.0 10.0
10 months ago about 6 hours ago
R Python
Mozilla Public License 2.0 BSD 3-clause "New" or "Revised" License
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.

db-benchmark

Posts with mentions or reviews of db-benchmark. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-08.
  • Database-Like Ops Benchmark
    1 project | news.ycombinator.com | 28 Jan 2024
  • Polars
    11 projects | news.ycombinator.com | 8 Jan 2024
    Real-world performance is complicated since data science covers a lot of use cases.

    If you're just reading a small CSV to do analysis on it, then there will be no human-perceptible difference between Polars and Pandas. If you're reading a larger CSV with 100k rows, there still won't be much of a perceptible difference.

    Per this (old) benchmark, there are differences once you get into 500MB+ territory: https://h2oai.github.io/db-benchmark/

  • DuckDB performance improvements with the latest release
    8 projects | news.ycombinator.com | 6 Nov 2023
    I do think it was important for duckdb to put out a new version of the results as the earlier version of that benchmark [1] went dormant with a very old version of duckdb with very bad performance, especially against polars.

    [1] https://h2oai.github.io/db-benchmark/

  • Show HN: SimSIMD vs. SciPy: How AVX-512 and SVE make SIMD cleaner and ML faster
    16 projects | news.ycombinator.com | 7 Oct 2023
    https://news.ycombinator.com/item?id=33270638 :

    > Apache Ballista and Polars do Apache Arrow and SIMD.

    > The Polars homepage links to the "Database-like ops benchmark" of {Polars, data.table, DataFrames.jl, ClickHouse, cuDF, spark, (py)datatable, dplyr, pandas, dask, Arrow, DuckDB, Modin,} but not yet PostgresML? https://h2oai.github.io/db-benchmark/ *

    LLM -> Vector database: https://en.wikipedia.org/wiki/Vector_database

    /? inurl:awesome site:github.com "vector database"

  • Pandas vs. Julia – cheat sheet and comparison
    7 projects | news.ycombinator.com | 17 May 2023
    I agree with your conclusion but want to add that switching from Julia may not make sense either.

    According to these benchmarks: https://h2oai.github.io/db-benchmark/, DF.jl is the fastest library for some things, data.table for others, polars for others. Which is fastest depends on the query and whether it takes advantage of the features/properties of each.

    For what it's worth, data.table is my favourite to use and I believe it has the nicest ergonomics of the three I spoke about.

  • Any faster Python alternatives?
    6 projects | /r/learnprogramming | 12 Apr 2023
    Same. Numba does wonders for me in most scenarios. Yesterday I've discovered pola-rs and looks like I will add it to the stack. It's API is similar to pandas. Have a look at the benchmarks of cuDF, spark, dask, pandas compared to it: Benchmarks
  • Pandas 2.0 (with pyarrow) vs Pandas 1.3 - Performance comparison
    1 project | /r/datascience | 8 Apr 2023
    The syntax has similarities with dplyr in terms of the way you chain operations, and it’s around an order of magnitude faster than pandas and dplyr (there’s a nice benchmark here). It’s also more memory-efficient and can handle larger-than-memory datasets via streaming if needed.
  • Pandas v2.0 Released
    5 projects | news.ycombinator.com | 3 Apr 2023
    If interested in benchmarks comparing different dataframe implementations, here is one:

    https://h2oai.github.io/db-benchmark/

  • Database-like ops benchmark
    1 project | /r/dataengineering | 16 Feb 2023
  • Python "programmers" when I show them how much faster their naive code runs when translated to C++ (this is a joke, I love python)
    2 projects | /r/ProgrammerHumor | 17 Jan 2023
    Bad examples. Both numpy and pandas are notoriously un-optimized packages, losing handily to pretty much all their competitors (R, Julia, kdb+, vaex, polars). See https://h2oai.github.io/db-benchmark/ for a partial comparison.

Pandas

Posts with mentions or reviews of Pandas. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-28.
  • AWS Serverless Diversity: Multi-Language Strategies for Optimal Solutions
    4 projects | dev.to | 28 Apr 2024
    Python is a natural fit for serverless development. It boasts a vast array of libraries, including Powertools for AWS and robust libraries for data engineers. Its versatility and excellent developer experience make it a top choice for serverless projects, offering a seamless and enjoyable development experience.
  • Pandas reset_index(): How To Reset Indexes in Pandas
    1 project | dev.to | 27 Apr 2024
    In data analysis, managing the structure and layout of data before analyzing them is crucial. Python offers versatile tools to manipulate data, including the often-used Pandas reset_index() method.
  • Deploying a Serverless Dash App with AWS SAM and Lambda
    3 projects | dev.to | 4 Mar 2024
    Dash is a Python framework that enables you to build interactive frontend applications without writing a single line of Javascript. Internally and in projects we like to use it in order to build a quick proof of concept for data driven applications because of the nice integration with Plotly and pandas. For this post, I'm going to assume that you're already familiar with Dash and won't explain that part in detail. Instead, we'll focus on what's necessary to make it run serverless.
  • Help Us Build Our Roadmap – Pydantic
    2 projects | news.ycombinator.com | 19 Feb 2024
    there is pull request to integrate in both pydantic extra types and into pandas cose [1]

    [1]: https://github.com/pandas-dev/pandas/issues/53999

  • Stuff I Learned during Hanukkah of Data 2023
    5 projects | dev.to | 18 Dec 2023
    Last year I worked through the challenges using VisiData, Datasette, and Pandas. I walked through my thought process and solutions in a series of posts.
  • Introducing Flama for Robust Machine Learning APIs
    11 projects | dev.to | 18 Dec 2023
    pandas: A library for data analysis in Python
  • Exploring Open-Source Alternatives to Landing AI for Robust MLOps
    18 projects | dev.to | 13 Dec 2023
    Data analysis involves scrutinizing datasets for class imbalances or protected features and understanding their correlations and representations. A classical tool like pandas would be my obvious choice for most of the analysis, and I would use OpenCV or Scikit-Image for image-related tasks.
  • Mastering Pandas read_csv() with Examples - A Tutorial by Codes With Pankaj
    1 project | dev.to | 9 Dec 2023
    Pandas, a powerful data manipulation library in Python, has become an essential tool for data scientists and analysts. One of its key functions is read_csv(), which allows users to read data from CSV (Comma-Separated Values) files into a Pandas DataFrame. In this tutorial, brought to you by CodesWithPankaj.com, we will explore the intricacies of read_csv() with clear examples to help you harness its full potential.
  • What Would Go in Your Dream Documentation Solution?
    2 projects | /r/technicalwriting | 9 Dec 2023
    So, what I'd like to do is write a documentation package in Python to recreate what I've lost. I plan to build upon the fantastic python-docx and docxtpl packages, and I'll probably rely on pandas from much of the tabular stuff. Here are the features I intend to include:
  • How do people know when to use what programming language?
    1 project | /r/AskProgramming | 6 Dec 2023
    Weirdly most of my time spent with data analysis was in the C layers in pandas.

What are some alternatives?

When comparing db-benchmark and Pandas you can also consider the following projects:

polars - Dataframes powered by a multithreaded, vectorized query engine, written in Rust

Cubes - [NOT MAINTAINED] Light-weight Python OLAP framework for multi-dimensional data analysis

datafusion - Apache DataFusion SQL Query Engine

tensorflow - An Open Source Machine Learning Framework for Everyone

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

orange - 🍊 :bar_chart: :bulb: Orange: Interactive data analysis

databend - 𝗗𝗮𝘁𝗮, 𝗔𝗻𝗮𝗹𝘆𝘁𝗶𝗰𝘀 & 𝗔𝗜. Modern alternative to Snowflake. Cost-effective and simple for massive-scale analytics. https://databend.com

Airflow - Apache Airflow - A platform to programmatically author, schedule, and monitor workflows

DataFramesMeta.jl - Metaprogramming tools for DataFrames

Keras - Deep Learning for humans

sktime - A unified framework for machine learning with time series

Pytorch - Tensors and Dynamic neural networks in Python with strong GPU acceleration