{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "df0e6352", "metadata": { "execution": { "iopub.execute_input": "2024-08-23T10:32:47.896674Z", "iopub.status.busy": "2024-08-23T10:32:47.896524Z", "iopub.status.idle": "2024-08-23T10:32:48.242341Z", "shell.execute_reply": "2024-08-23T10:32:48.241904Z" } }, "outputs": [], "source": [ "import pandas as pd\n", "\n", "from lets_plot import *" ] }, { "cell_type": "code", "execution_count": 2, "id": "3d325167", "metadata": { "execution": { "iopub.execute_input": "2024-08-23T10:32:48.243949Z", "iopub.status.busy": "2024-08-23T10:32:48.243830Z", "iopub.status.idle": "2024-08-23T10:32:48.246460Z", "shell.execute_reply": "2024-08-23T10:32:48.246211Z" } }, "outputs": [ { "data": { "text/html": [ "\n", "
\n", " \n", " " ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "LetsPlot.setup_html()" ] }, { "cell_type": "code", "execution_count": 3, "id": "2b33ff55", "metadata": { "execution": { "iopub.execute_input": "2024-08-23T10:32:48.247605Z", "iopub.status.busy": "2024-08-23T10:32:48.247527Z", "iopub.status.idle": "2024-08-23T10:32:49.156917Z", "shell.execute_reply": "2024-08-23T10:32:49.156503Z" } }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "(7338, 12)\n" ] }, { "data": { "text/html": [ "\n", " | show_id | \n", "type | \n", "title | \n", "director | \n", "cast | \n", "country | \n", "date_added | \n", "release_year | \n", "rating | \n", "duration | \n", "genres | \n", "description | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", "s1 | \n", "TV Show | \n", "3% | \n", "NaN | \n", "João Miguel, Bianca Comparato, Michel Gomes, R... | \n", "Brazil | \n", "14-Aug-20 | \n", "2020 | \n", "TV-MA | \n", "4 | \n", "International TV Shows, TV Dramas, TV Sci-Fi &... | \n", "In a future where the elite inhabit an island ... | \n", "
1 | \n", "s10 | \n", "Movie | \n", "1920 | \n", "Vikram Bhatt | \n", "Rajneesh Duggal, Adah Sharma, Indraneil Sengup... | \n", "India | \n", "15-Dec-17 | \n", "2008 | \n", "TV-MA | \n", "143 | \n", "Horror Movies, International Movies, Thrillers | \n", "An architect and his wife move into a castle t... | \n", "
2 | \n", "s100 | \n", "Movie | \n", "3 Heroines | \n", "Iman Brotoseno | \n", "Reza Rahadian, Bunga Citra Lestari, Tara Basro... | \n", "Indonesia | \n", "05-Jan-19 | \n", "2016 | \n", "TV-PG | \n", "124 | \n", "Dramas, International Movies, Sports Movies | \n", "Three Indonesian women break records by becomi... | \n", "
3 | \n", "s1000 | \n", "Movie | \n", "Blue Mountain State: The Rise of Thadland | \n", "Lev L. Spiro | \n", "Alan Ritchson, Darin Brooks, James Cade, Rob R... | \n", "United States | \n", "01-Mar-16 | \n", "2016 | \n", "R | \n", "90 | \n", "Comedies | \n", "New NFL star Thad buys his old teammates' belo... | \n", "
4 | \n", "s1001 | \n", "TV Show | \n", "Blue Planet II | \n", "NaN | \n", "David Attenborough | \n", "United Kingdom | \n", "03-Dec-18 | \n", "2017 | \n", "TV-G | \n", "1 | \n", "British TV Shows, Docuseries, Science & Nature TV | \n", "This sequel to the award-winning nature series... | \n", "