Skip to content

Commit

Permalink
docs(datafusion): add imdb live demo reference to end of presentation (
Browse files Browse the repository at this point in the history
  • Loading branch information
gforsyth authored and ncclementi committed Sep 24, 2024
1 parent c33c263 commit 9402725
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/presentations/datafusion-meetup-nyc-2024/talk.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,24 @@ Nope. You should use Ibis _with_ `X`.

::: {.panel-tabset}

### IMDB Top 10

```python
import ibis

con = ibis.datafusion.connect()
ibis.set_backend(con)

ratings = ibis.examples.imdb_title_ratings.fetch()
basics = ibis.examples.imdb_title_basics.fetch()

basics.filter(basics.titleType == "movie", basics.isAdult == 0).join(
ratings, "tconst"
).filter(ratings.numVotes > 100_000).order_by(ratings.averageRating.desc()).select(
"primaryTitle", "averageRating"
).limit(10)
```

### Pandas PyPI

```python
Expand Down

0 comments on commit 9402725

Please sign in to comment.