{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "524046f7-1406-4283-b8f7-085374a13479", "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", " \n", " \n", " " ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "import numpy as np\n", "import pandas as pd\n", "from lets_plot import *\n", "\n", "LetsPlot.setup_html()" ] }, { "cell_type": "code", "execution_count": 2, "id": "c9e777c5-b196-4af8-83e8-bd1dbe00d9f7", "metadata": {}, "outputs": [], "source": [ "df = pd.DataFrame({\n", " \"id\": list(range(1, 11)),\n", " \"x\": [4, np.nan, 1, 9, 6, 2, 10, np.nan, 7, 5],\n", " \"y\": [7, 1, 9, 10, 4, np.nan, 3, np.nan, 6, 5],\n", " \"start\": [0,0,0,0,0,0,0,0,0,0]\n", "})" ] }, { "cell_type": "code", "execution_count": 3, "id": "1def5066-d800-47e6-b643-a7050254f781", "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", "