Skip to content

Repository files navigation

Dash: Polars vs. Pandas

Polars vs. Pandas Image Credit: Google Gemini

This is a simple comparison between Polars and Pandas as used in a Plotly Dash App.

App Preview

Here's a preview of the app: App Demo: https://dash-polars-pandas-docker.onrender.com/

Note: The app is hosted for free, so it might take a few seconds to load.

Introduction

This app includes 3 main pages:

  1. Speed Comparison: An interactive speed comparison between Polars and Pandas. This is not fully optimized or a true benchmark, but it gives a rough idea of the speed difference between the two libraries.
  2. Polars Dash Recipes: A collection of recipes for using Polars in Dash. The main idea is to explore syntax differences that might be helpful for someone transitioning from Pandas to Polars.
  3. Minimal Dash App (in Polars): This example is from the Dash documentation, rewritten with Polars instead of Pandas.

Getting Started

To run this app, you need to have Python installed. Then, you can install the required packages by running the following command in your terminal:

pip install -r requirements.txt

After installing the required packages, you can run the app by running the following command in your terminal:

python app.py

Contributing

If you have any suggestions or find any bugs, feel free to message me, open an issue, or create a pull request. Thanks!

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages