Skip to content

Commit bf82922

Browse files
authored
abbreviate the output in an example in dataframes to avoid a typo false positive (#1475)
1 parent f3b5fe0 commit bf82922

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

book/dataframes.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -731,13 +731,11 @@ Using the first dataframe that we created we can do something like this
731731
```nu
732732
> let mask_2 = $df_1 | polars col first | polars is-in [b c]
733733
> $mask_2
734-
╭──────────┬───────────────────────────────────────────────────────────────────────────────────────────────────────────╮
735-
│ input │ [table 2 rows] │
736-
│ function │ Boolean(IsIn) │
737-
│ options │ FunctionOptions { collect_groups: ElementWise, fmt_str: "", input_wildcard_expansion: false, returns_scal │
738-
│ │ ar: false, cast_to_supertypes: true, allow_rename: false, pass_name_to_apply: false, changes_length: fals │
739-
│ │ e, check_lengths: UnsafeBool(true), allow_group_aware: true } │
740-
╰──────────┴───────────────────────────────────────────────────────────────────────────────────────────────────────────╯
734+
╭──────────┬─────────────────────────╮
735+
│ input │ [table 2 rows] │
736+
│ function │ Boolean(IsIn) │
737+
│ options │ FunctionOptions { ... } │
738+
╰──────────┴─────────────────────────╯
741739
```
742740

743741
and this new mask can be used to filter the dataframe

0 commit comments

Comments
 (0)