{ "cells": [ { "cell_type": "markdown", "id": "4a64a25d", "metadata": {}, "source": [ "# pandas: Profile DataFrame" ] }, { "cell_type": "markdown", "id": "728144e4", "metadata": {}, "source": [ "## Package Import" ] }, { "cell_type": "code", "execution_count": 1, "id": "6d077a6a", "metadata": { "execution": { "iopub.execute_input": "2025-09-02T18:24:54.825809Z", "iopub.status.busy": "2025-09-02T18:24:54.825673Z", "iopub.status.idle": "2025-09-02T18:24:55.015759Z", "shell.execute_reply": "2025-09-02T18:24:55.015081Z" }, "tags": [ "hide-output", "scroll-output" ] }, "outputs": [], "source": [ "import pandas as pd\n", "import numpy as np" ] }, { "cell_type": "markdown", "id": "094df23f", "metadata": {}, "source": [ "## Dataset Import" ] }, { "cell_type": "markdown", "id": "f081f68c", "metadata": {}, "source": [ "The dataset used in this notebook is from [Kaggle - Pokemon](https://www.kaggle.com/datasets/abcsds/pokemon)." ] }, { "cell_type": "code", "execution_count": 2, "id": "eef143f1", "metadata": { "execution": { "iopub.execute_input": "2025-09-02T18:24:55.017703Z", "iopub.status.busy": "2025-09-02T18:24:55.017541Z", "iopub.status.idle": "2025-09-02T18:24:55.021904Z", "shell.execute_reply": "2025-09-02T18:24:55.021481Z" }, "tags": [ "hide-output", "scroll-output" ] }, "outputs": [], "source": [ "data = pd.read_csv('data/Pokemon.csv')" ] }, { "cell_type": "markdown", "id": "2d5f3a12", "metadata": {}, "source": [ "## Profile a DataFrame" ] }, { "cell_type": "code", "execution_count": 3, "id": "4d78cc8c", "metadata": { "execution": { "iopub.execute_input": "2025-09-02T18:24:55.023384Z", "iopub.status.busy": "2025-09-02T18:24:55.023261Z", "iopub.status.idle": "2025-09-02T18:25:06.131459Z", "shell.execute_reply": "2025-09-02T18:25:06.131053Z" }, "tags": [ "hide-output", "scroll-output" ] }, "outputs": [ { "data": { "text/html": [ "\n", "
\n", " Improve your data and profiling with ydata-sdk, featuring data quality scoring, redundancy detection, outlier identification, text validation, and synthetic data generation.\n", "
\n", "