Netflix High-Completion Titles

Easy
Filtering
Media
Netflix

Netflix High-Completion Titles

A Netflix-style content team flags titles that most viewers finish.

Return title_id, title_name, completion_pct for titles with a completion rate of at least 90%. Sort by title_id ascending.

Browser Engine: Evaluates PySpark DataFrame & SQL logic locally in Pyodide WebAssembly.

Input data

1 DataFrame

These DataFrames are passed to solve(spark, dfs). Access one with dfs['name'].

df.titles6 rows
title_id (int)title_name (string)completion_pct (double)
1Midnight Heist92.5
2The Last Monsoon88
3City of Kites95
4Signal Lost79.5
5The Quiet Kitchen90
6Neon Streets84

Return these columns

title_id(bigint)
title_name(string)
completion_pct(double)

Column names and order must match. Sort order is specified in the question.

Browser engine
Loading Python editor…
Click Run to try the sample cases, or Submit to check the hidden cases. First run caches the browser Python engine (~8–15s once); all code stays on your device.