Fix 1 of 2
Clean and explore data in a notebook with AI built in
Hex, Databricks notebooks, Jupyter AI, Colab with Gemini and ChatGPT or Claude data analysis write the cleaning and reshaping code from plain-English instructions. You check the output.
- 1Open the data in an AI-enabled notebook (Hex, Databricks, Colab, Jupyter AI), or upload a file to an approved assistant.
- 2Describe the cleaning you need using the prompt below.
- 3Read the generated code; check row counts before and after each step.
- 4Save it as a reusable notebook or move it upstream into the pipeline.
I have a dataset with these columns: [LIST COLUMNS AND TYPES]. Write [PANDAS / POLARS / SQL] code to: [e.g. standardize dates to ISO, trim and lowercase emails, remove exact duplicates, split full name into first and last, flag rows with missing customer IDs]. Print row counts before and after each step, and list any assumptions. Do not drop rows silently.
Tools: Hex Magic · Databricks Assistant · Jupyter AI · Google Colab with Gemini · ChatGPT or Claude data analysis