{ "cells": [ { "cell_type": "markdown", "id": "2b82f2ad-bf15-4e12-a454-eeec138bd68c", "metadata": {}, "source": [ "# ... slice a dataset based on a condition?\n", "Good practice is to have dimension attached to the datasets. The dimension scales can be used to decide what to slice exactly. The following example first generates a dataset and the slices it depending on the value in the first dimension, in this case the time:" ] }, { "cell_type": "code", "execution_count": 1, "id": "9b881f18-fbae-4e52-883a-6424f1247138", "metadata": { "tags": [] }, "outputs": [ { "data": { "text/html": [ "
\n", "