Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Narwhals instead of Pandas #10702

Open
akmalsoliev opened this issue Nov 24, 2024 · 5 comments
Open

Use Narwhals instead of Pandas #10702

akmalsoliev opened this issue Nov 24, 2024 · 5 comments
Labels
feature-request feature request

Comments

@akmalsoliev
Copy link

Is your feature request related to a problem? Please describe.
Currently, there is a limitation in the adoption of a new DataFrame library due to the dominance of a single DataFrame library (pandas). Narwhals is a DataFrame agnostic library that is gaining popularity for its simplicity and ability to use multiple DataFrame libraries through a single API. However, users who prefer different libraries face a significant hurdle as they are forced to use Pandas and/or Spark with GE.

Describe the solution you'd like
A potential solution would be to integrate Narwhals into Great Expectations (GE), allowing users to leverage GE's powerful data validation capabilities with their preferred DataFrame library. This integration would provide a more flexible and inclusive environment for data practitioners, enabling them to use GE seamlessly with libraries such as Pandas, Spark, Polars and etc.. through the Narwhals API.

Describe alternatives you've considered
There are currently no alternatives, users would be forced to convert into Pandas to use GE, which is already not compatible with numpy>2.0

Additional context
Narwhals page:
https://github.com/narwhals-dev/narwhals

@adeola-ak
Copy link
Contributor

Hi there, thank you for sharing this with us. I'll pass this feedback to the team—please stay tuned for updates.

@akmalsoliev
Copy link
Author

@adeola-ak great news, looking forward to an update, this would open GE to a great number of communities.

@Bidek56
Copy link

Bidek56 commented Nov 29, 2024

@akmalsoliev It's not happening, Polars was rejected from the enhancement list.
If you need a different DF, use alternatives to GE, they support other DFs.

@MarcoGorelli
Copy link

@Bidek56 are you sure this is true? They seem open to it in Polars support for Great Expectations

In fact, maybe this issue can be considered a duplicate of that discussion?

@Bidek56
Copy link

Bidek56 commented Nov 30, 2024

Please see the comment on #5914

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request feature request
Projects
Status: To Do
Development

No branches or pull requests

4 participants