sweetviz
A pandas-based library to visualize and compare datasets.
Decision gist · record as of 2026-08-14
Yes. Sweetviz is actively maintained, permissively licensed, has low install friction, and solves a common pain point in data science workflows. It is well-suited for rapid EDA when you need quick visual summaries of datasets and their relationships. Install it if you work regularly with pandas dataframes and want to reduce boilerplate visualization code; skip it if you need fine-grained control over plot aesthetics or work primarily in restricted environments.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires pandas 0.25.3 or later and Python 3.7+; custom file operations in restricted environments like Google Colab may not be fully supported.
- Low install friction with a wheel distribution and eight common dependencies (pandas, numpy, matplotlib, scipy, jinja2, tqdm, and importlib utilities).
- Actively maintained as of April 2026 with recent bug fixes in version 2.3.2.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
last release 2026-04-11 (125 days) · last repo commit 2026-04-11 · 3,116 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 207,279 downloads/mo, #9,556 on PyPI
Alternatives
Verify before relying
import sweetviz as sv
import pandas as pd
df = pd.read_csv('data.csv')
my_report = sv.analyze(df)
my_report.show_html()- Whether version 2.3.3 resolves all long-standing issues mentioned in the April 2026 update beyond what 2.3.2 addressed.
- Current status of Google Colab and other restricted-environment support mentioned as 'looking into a solution'.
- Performance characteristics for datasets with very large feature counts relative to the association_auto_threshold parameter.
What it is and what it does
Sweetviz is a pandas-based Python library that automates exploratory data analysis by generating self-contained, interactive HTML reports from dataframes. It detects feature types automatically (numerical, categorical, text), computes summary statistics and associations, and visualizes relationships between features and optional target variables. The library is designed around two main workflows: analyzing a single dataset with an optional target feature, and comparing two datasets (e.g., training vs. test splits) or subsets within a dataset (e.g., male vs. female rows).
The package handles mixed-type associations seamlessly—Pearson correlation for numerical features, uncertainty coefficient for categorical features, and correlation ratio for categorical-numerical pairs. Output is a fully self-contained HTML application that renders in a browser or notebook environment, making it useful for quick data characterization tasks without manual visualization code. It depends on standard scientific Python libraries (pandas, numpy, scipy, matplotlib) and template rendering (jinja2).
Use it for
- Generate a quick summary report of a new dataset to understand distributions, missing values, and feature types without writing custom code.
- Compare training and test datasets side-by-side to identify data drift or distribution mismatches before model training.
- Analyze how a target variable (e.g., loan default, customer churn) relates to other features to guide feature engineering.
- Visualize correlations and associations across mixed data types to identify potential multicollinearity or feature interactions.
- Create an interactive HTML report for stakeholders to explore data characteristics without requiring Python knowledge.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Sweetviz is actively maintained, permissively licensed, has low install friction, and solves a common pain point in data science workflows. It is well-suited for rapid EDA when you need quick visual summaries of datasets and their relationships. Install it if you work regularly with pandas dataframes and want to reduce boilerplate visualization code; skip it if you need fine-grained control over plot aesthetics or work primarily in restricted environments.
Install
sweetviz on PyPI
Before you install
Low install friction with a wheel distribution and eight common dependencies (pandas, numpy, matplotlib, scipy, jinja2, tqdm, and importlib utilities). Actively maintained as of April 2026 with recent bug fixes in version 2.3.2.
Requires pandas 0.25.3 or later and Python 3.7+; custom file operations in restricted environments like Google Colab may not be fully supported.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
import sweetviz as sv
import pandas as pd
df = pd.read_csv('data.csv')
my_report = sv.analyze(df)
my_report.show_html()
Verify before relying
- Whether version 2.3.3 resolves all long-standing issues mentioned in the April 2026 update beyond what 2.3.2 addressed.
- Current status of Google Colab and other restricted-environment support mentioned as 'looking into a solution'.
- Performance characteristics for datasets with very large feature counts relative to the association_auto_threshold parameter.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 8 packagespandasnumpymatplotlibtqdmscipyjinja2importlib_resourcesimportlib_metadata |
| Maintenance | Actively maintained 125 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 207,279 / month, #9,556 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Science/ResearchOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Scientific/Engineering :: VisualizationTopic :: Software Development :: Libraries :: Python Modules |
Evidence: sweetviz-2.3.3-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “exploratory data analysis visualization”
- sweetvizSweetviz generates interactive HTML visualizations for exploratory…
- hvplothvPlot provides a high-level plotting API that wraps HoloViews,…
- ydata-profilingGenerates comprehensive exploratory data analysis reports for pandas…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also ydata-profiling · pandas-profiling · dtale · facets-overview · arviz-plots · giddy · missingno · visions · snakeviz · percentify