minimal-pandas-api-for-pola

By austospumanto

Minimal-pandas-api-for-pola Alternatives

Similar projects and alternatives to minimal-pandas-api-for-pola

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better minimal-pandas-api-for-pola alternative or higher similarity.

minimal-pandas-api-for-pola reviews and mentions

Posts with mentions or reviews of minimal-pandas-api-for-pola. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-16.
  • Polars: Lightning-fast DataFrame library for Rust and Python
    13 projects | news.ycombinator.com | 16 Dec 2021
    https://github.com/austospumanto/minimal-pandas-api-for-pola...

    pip install minimal-pandas-api-for-polars

    I wrote a library that wraps polars DataFrame and Series objects to allow you to use them with the same syntax as with pandas DataFrame and Series objects. The goal is not to be a replacement for polars' objects and syntax, but rather to (1) Allow you to provide (wrapped) polars objects as arguments to existing functions in your codebase that expect pandas objects and (2) Allow you to continue writing code (especially EDA in notebooks) using the pandas syntax you know and (maybe) love while you're still learning the polars syntax, but with the underlying objects being all-polars. All methods of polars' objects are still available, allowing you to interweave pandas syntax and polars syntax when working with MppFrame and MppSeries objects.

    Furthermore, the goal should always be to transition away from this library over time, as the LazyFrame optimizations offered by polars can never be fully taken advantage of when using pandas-based syntax (as far as I can tell). In the meantime, the code in this library has allowed me to transition my company's pandas-centric code to polars-centric code more quickly, which has led to significant speedups and memory savings even without being able to take full advantage of polars' lazy evaluation. To be clear, these gains have been observed both when working in notebooks in development and when deployed in production API backends / data pipelines.

    I'm personally just adding methods to the MppFrame and MppSeries objects whenever I try to use pandas syntax and get AttributeErrors.