diff --git a/ibis/expr/types/arrays.py b/ibis/expr/types/arrays.py index 68fb594a7e16..bea22cf53792 100644 --- a/ibis/expr/types/arrays.py +++ b/ibis/expr/types/arrays.py @@ -759,18 +759,7 @@ def unique(self) -> ir.ArrayValue: -------- >>> import ibis >>> ibis.options.interactive = True - >>> t = ibis.memtable({"arr": [[1, 3, 3], [], [42, 42], None]}) - >>> t - ┏━━━━━━━━━━━━━━━━━━━━━━┓ - ┃ arr ┃ - ┡━━━━━━━━━━━━━━━━━━━━━━┩ - │ array │ - ├──────────────────────┤ - │ [1, 3, ... +1] │ - │ [] │ - │ [42, 42] │ - │ NULL │ - └──────────────────────┘ + >>> t = ibis.memtable({"arr": [[1, 3, 3], [], [42, 42, None], None]}) >>> t.arr.unique() ┏━━━━━━━━━━━━━━━━━━━━━━┓ ┃ ArrayDistinct(arr) ┃ @@ -779,7 +768,7 @@ def unique(self) -> ir.ArrayValue: ├──────────────────────┤ │ [3, 1] │ │ [] │ - │ [42] │ + │ [42, None] │ │ NULL │ └──────────────────────┘ """