Skip to content

Commit

Permalink
docs: fix warnings from deprecations (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
lostmygithubaccount authored Sep 16, 2024
1 parent 76ffd3a commit 5ab6fb7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
6 changes: 3 additions & 3 deletions docs/tutorial/pytorch.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ flight_data = (
"time_hour",
)
# Exclude missing data
.dropna()
.drop_null()
)
flight_data
```
Expand Down Expand Up @@ -133,8 +133,8 @@ flight_data_with_unique_key
```{python}
# FIXME(deepyaman): Proposed key isn't unique for actual departure date.
flight_data_with_unique_key.group_by("unique_key").mutate(
cnt=flight_data_with_unique_key.count()
)[ibis._.cnt > 1]
count=flight_data_with_unique_key.count()
).filter(ibis._["count"] > 1)
```

```{python}
Expand Down
7 changes: 3 additions & 4 deletions docs/tutorial/scikit-learn.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ flight_data = (
"time_hour",
)
# Exclude missing data
.dropna()
.drop_null()
)
flight_data
```
Expand Down Expand Up @@ -130,10 +130,9 @@ flight_data_with_unique_key
```

```{python}
# FIXME(deepyaman): Proposed key isn't unique for actual departure date.
flight_data_with_unique_key.group_by("unique_key").mutate(
cnt=flight_data_with_unique_key.count()
)[ibis._.cnt > 1]
count=flight_data_with_unique_key.count()
).filter(ibis._["count"] > 1)
```

```{python}
Expand Down
7 changes: 3 additions & 4 deletions docs/tutorial/xgboost.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ flight_data = (
"time_hour",
)
# Exclude missing data
.dropna()
.drop_null()
)
flight_data
```
Expand Down Expand Up @@ -130,10 +130,9 @@ flight_data_with_unique_key
```

```{python}
# FIXME(deepyaman): Proposed key isn't unique for actual departure date.
flight_data_with_unique_key.group_by("unique_key").mutate(
cnt=flight_data_with_unique_key.count()
)[ibis._.cnt > 1]
count=flight_data_with_unique_key.count()
).filter(ibis._["count"] > 1)
```

```{python}
Expand Down

0 comments on commit 5ab6fb7

Please sign in to comment.