{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": { "execution": { "iopub.execute_input": "2024-04-26T11:56:36.233138Z", "iopub.status.busy": "2024-04-26T11:56:36.233138Z", "iopub.status.idle": "2024-04-26T11:56:37.199308Z", "shell.execute_reply": "2024-04-26T11:56:37.199308Z" } }, "outputs": [ { "data": { "text/html": [ "\n", "
\n", " \n", " " ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "import pandas as pd\n", "\n", "from lets_plot import *\n", "LetsPlot.setup_html()" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "execution": { "iopub.execute_input": "2024-04-26T11:56:37.215066Z", "iopub.status.busy": "2024-04-26T11:56:37.215066Z", "iopub.status.idle": "2024-04-26T11:56:37.246373Z", "shell.execute_reply": "2024-04-26T11:56:37.246373Z" } }, "outputs": [], "source": [ "df = {'cond': ['A', 'A', 'B', 'B', 'C', 'C'], \\\n", " 'x': [2, 3, 2, 3, 2, 3], \\\n", " 'y': [1.0, 1.5, 2.0, 1.0, 1.6, 1.8]}" ] }, { "cell_type": "code", "execution_count": 3, "metadata": { "execution": { "iopub.execute_input": "2024-04-26T11:56:37.246373Z", "iopub.status.busy": "2024-04-26T11:56:37.246373Z", "iopub.status.idle": "2024-04-26T11:56:37.356963Z", "shell.execute_reply": "2024-04-26T11:56:37.356963Z" } }, "outputs": [ { "data": { "text/html": [ " \n", " " ], "text/plain": [ "