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

docs(io): doc/ux improvements for read_parquet and friends #5423

Merged
merged 1 commit into from
Feb 2, 2023

Conversation

gforsyth
Copy link
Member

@gforsyth gforsyth commented Feb 2, 2023

xref #5420

Default to duckdb in the install doc, fix the API doc of
default_backend, and note that the read_* functions passthrough to
the default backend.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 2, 2023

Test Results

         6 files           6 suites   7m 45s ⏱️
  3 523 tests   3 478 ✔️   45 💤 0
21 076 runs  20 800 ✔️ 276 💤 0

Results for commit 44e3477.

♻️ This comment has been updated with latest results.

Copy link
Member

@cpcloud cpcloud left a comment

Choose a reason for hiding this comment

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

:shipit:

@cpcloud cpcloud added this to the 5.0 milestone Feb 2, 2023
@cpcloud cpcloud added the docs Documentation related issues or PRs label Feb 2, 2023
1. Note that the `ibis-framework` package is *not* the same as the `ibis` package in PyPI. These two libraries cannot coexist in the same Python environment, as they are both imported with the `ibis` module name.
1. We suggest starting with the DuckDB backend. It's performant and fully featured. If you would like to use a different backend, all of the available options are listed below.

2. Note that the `ibis-framework` package is *not* the same as the `ibis` package in PyPI. These two libraries cannot coexist in the same Python environment, as they are both imported with the `ibis` module name.

{% for mgr in ["conda", "mamba"] %}
=== "{{ mgr }}"
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for the quick PR!

Is it intentional that the conda-forge ibis-framework comes by default with the duckdb engine while the pypi does not? I had not realized this discrepancy existed when opening the issue.

Copy link
Member

Choose a reason for hiding this comment

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

Not really, except that conda-forge doesn't have a notion of optional dependencies so we decided to make the default install a bit more convenient.

If we did this for pypi installs then duckdb (and a few other things, like sqlalchemy) would become required dependencies.

ibis/expr/api.py Outdated Show resolved Hide resolved
ibis/expr/api.py Outdated Show resolved Hide resolved
ibis/expr/api.py Outdated Show resolved Hide resolved
@gforsyth gforsyth force-pushed the gil/docs_ux_fixes branch 2 times, most recently from 9141d03 to e63a2c8 Compare February 2, 2023 17:30
Copy link
Contributor

@ogrisel ogrisel left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the great improvements!

ibis/expr/api.py Outdated Show resolved Hide resolved
xref ibis-project#5420

Default to `duckdb` in the install doc, fix the API doc of
`default_backend`, and note that the `read_*` functions passthrough to
the default backend.

Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
@gforsyth gforsyth enabled auto-merge (rebase) February 2, 2023 18:00
@gforsyth gforsyth merged commit 2541556 into ibis-project:master Feb 2, 2023
ogrisel added a commit to ogrisel/ibis that referenced this pull request Feb 3, 2023
…backend

Follow up on ibis-project#5423 
xref ibis-project#5420

This also adds single quotes around bracketed pip install commands to make sure they work with zsh which is the default shell on macOS.
ogrisel added a commit to ogrisel/ibis that referenced this pull request Feb 3, 2023
…backend

Follow up on ibis-project#5423
xref ibis-project#5420

This also adds single quotes around bracketed pip install commands to make sure they work with zsh which is the default shell on macOS.
cpcloud pushed a commit to ogrisel/ibis that referenced this pull request Feb 3, 2023
…backend

Follow up on ibis-project#5423
xref ibis-project#5420

This also adds single quotes around bracketed pip install commands to make sure they work with zsh which is the default shell on macOS.
cpcloud pushed a commit to ogrisel/ibis that referenced this pull request Feb 3, 2023
…backend

Follow up on ibis-project#5423
xref ibis-project#5420

This also adds single quotes around bracketed pip install commands to make sure they work with zsh which is the default shell on macOS.
cpcloud pushed a commit that referenced this pull request Feb 3, 2023
…backend

Follow up on #5423
xref #5420

This also adds single quotes around bracketed pip install commands to make sure they work with zsh which is the default shell on macOS.
@gforsyth gforsyth deleted the gil/docs_ux_fixes branch February 3, 2023 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation related issues or PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants