Skip to content

Commit 41eeeb6

Browse files
authored
Update "includes" and "tip" formatting in where.md
1 parent dd67e6a commit 41eeeb6

File tree

1 file changed

+7
-19
lines changed

1 file changed

+7
-19
lines changed

docs/tutorial/where.md

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -583,29 +583,17 @@ We get `Black Lion` here too because although the age is not *strictly* less tha
583583

584584
Finally, we can use `in_ to get the rows where a column is a member of a collection of values:
585585

586-
```Python hl_lines="5"
587-
# Code above omitted 👆
588-
589-
{!./docs_src/tutorial/where/tutorial0066.py[ln:44-49]!}
590-
591-
# Code below omitted 👇
592-
```
593-
594-
<details>
595-
<summary>👀 Full file preview</summary>
596-
597-
```Python
598-
{!./docs_src/tutorial/where/tutorial0065.py!}
599-
```
600-
601-
</details>
586+
{* ./docs_src/tutorial/where/tutorial0065.py ln[44:49] hl[46] *}
602587

603588
In this case, we match `Deadpond` since it's part of the collections of names.
604589
We don't have any hero called `Ratman`, so it does not match any hero.
605590

606-
!!! tip
607-
You need to wrap your attribute with `col()` to use `in_`.
608-
You can read more about it in the (Type annotations and errors)[#type-annotations-and-errors] section.
591+
/// tip
592+
593+
You need to wrap your attribute with `col()` to use `in_`.
594+
You can read more about it in the (Type annotations and errors)[#type-annotations-and-errors] section.
595+
596+
///
609597

610598
### Benefits of Expressions
611599

0 commit comments

Comments
 (0)