ApeWorX / ape

The smart contract development tool for Pythonistas, Data Scientists, and Security Professionals
https://apeworx.io
Apache License 2.0
895 stars 131 forks source link

Refactor dataframe support to use narwhals generic dataframes #2013

Open fubuloubu opened 7 months ago

fubuloubu commented 7 months ago

Overview

We force our users to use pandas dataframes to reduce a dependency on polars, which is less widely supported than polars. https://github.com/narwhals-dev/narwhals is a really cool project that makes a generic compatibility layer that would just let us delegate to whatever the user has installed in order to convert the dataframes into the format they desire. It is also particularly cool in that it supports lazy dataframe operations universally, which could be useful for ape users.

Specification

TBD

Dependencies

n/a

linear[bot] commented 7 months ago

APE-1729 Refactor dataframe support to use narwhals generic dataframes

fubuloubu commented 4 weeks ago

https://narwhals-dev.github.io/narwhals/api-reference/narwhals/