WLJS LogoWLJS Notebook

Dataset

Dataset[data] represents a structured dataset based on a hierarchy of lists and associations, enabling query operations and visualization.

For large dataset -- use strongly typed data-structure Tabular

Examples

Create and query a dataset:

ds = Dataset[{
  <|"name" -> "Alice", "age" -> 30|>,
  <|"name" -> "Bob", "age" -> 25|>
}]

(* Select column *)
ds[All, "name"]
(* {"Alice", "Bob"} *)

Output forms

Visual representation of Dataset supports:

  • lazy loading
  • sorting (both: using Kernel and frontend)

Click on one of the headers to sort that dataset content

Something isn't working? Report an issue.

Please visit the official Wolfram Language Reference for more details.

On this page