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

try using narwhals to make dataframe-agnostic #38

Merged
merged 2 commits into from
Apr 30, 2024

Conversation

MarcoGorelli
Copy link
Contributor

closes #35

was curious to try this out - curious to hear your results (no offense / worries whatsoever if you don't want or like this!), tbh I think it looks quite neat

@MarcoGorelli MarcoGorelli marked this pull request as ready for review April 26, 2024 08:18
Copy link
Owner

@FBruzzesi FBruzzesi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grazie Marco! This looks neat 👌
Will update docs and make a release soon ✨

pyproject.toml Outdated
Comment on lines 39 to 40
polars = ["polars"]
pandas = ["pandas"]
Copy link
Owner

@FBruzzesi FBruzzesi Apr 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there min versions required by narwhals? It seems it doesn't from pyproject.toml

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

I'll test this backwards and see how far we can get, but .filter I'd expect should go back essentially forever

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would pandas>=1.2.0 and Polars>=0.20.3 work for you? I've set those as the minimum, and have tested with the minimum versions

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@FBruzzesi FBruzzesi merged commit b4b2e00 into FBruzzesi:main Apr 30, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Experiment with narwhals
2 participants