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
gforsyth authored Sep 18, 2024
1 parent 2b6633c commit 1d965c7
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
@@ -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

0 comments on commit 1d965c7

Please sign in to comment.