-
Notifications
You must be signed in to change notification settings - Fork 787
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
feat: make pandas and NumPy optional dependencies, don't require PyArrow for plotting with Polars/Modin/cuDF #3452
Merged
+365
−233
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
ef2a10e
feat: use Narwhals to make NumPy and pandas optional, and to support
MarcoGorelli 6da3e3b
Merge branch 'main' into narwhalify
MarcoGorelli e91ed4d
fix ibis-date32 bug too, make sure to only convert to arrow once
MarcoGorelli f6d639e
stable api
MarcoGorelli 7c052c0
update docstring
MarcoGorelli 81da742
fixup
MarcoGorelli c72fb9b
silence warning for old pandas
MarcoGorelli 1078d38
improve skipif condition, simplify
MarcoGorelli bb84f22
lint
MarcoGorelli b111fe9
explicitly set ibis backend
MarcoGorelli b2118f9
use importlib / packaging
MarcoGorelli 84bda85
xfail ibis date32 test on windows
MarcoGorelli 110f848
wip
MarcoGorelli 6be087a
wip
MarcoGorelli 795b464
Merge remote-tracking branch 'upstream/main' into narwhalify
MarcoGorelli 3063fdf
wip
MarcoGorelli 1c8c5a3
wip date32
MarcoGorelli b0ca54d
reorder imports
MarcoGorelli d0417df
typing
MarcoGorelli 5d54bc4
bump version
MarcoGorelli b52eaca
typo, `strict=False` comments, use consistent typevar name
MarcoGorelli 8b4b3db
lint
MarcoGorelli cd81385
special-case Polars in `.dt.to_string` for Date
MarcoGorelli bec9bc2
rename test file
MarcoGorelli File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
wip
- Loading branch information
commit 110f848abcd5bee351d0da9b18275ff6d98cfb7e
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Out of curiosity, can polars import from the DataFrame interchange protocol without going through pyarrow? If so, it might be nice to do this when polars is installed but not pyarrow (e.g. if someone somehow manages to have ibis and polars installed but not pyarrow).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is possible, although pyarrow is a required dependency of ibis anyway
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a priority now (and I can't think of any specific scenarios that would benefit), was just curious.
For posterity, this ibis team is in the process of removing the hard pyarrow dependency for some use cases (ibis-project/ibis#9552), but it will still be required for many (all?) specific backends I think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
niiice! looking forwards to being able to use ibis as a duckdb frontend without pandas+pyarrow being required 🤞 well done to ibis devs