Skip to main content

GitHub

PyPI PyPI - Status PyPI - Downloads GitHub last commit

DataFrame Summary Tools in Jupyter Notebook

This is python version of summarytools, which is used to generate standardized and comprehensive summary of dataframe in Jupyter Notebooks.

The idea is originated from the summarytools R package (https://github.com/dcomtois/summarytools).

  • Only dfSummary, freq, and ctable() functions are made available for now
  • Added two html widgets to avoid displaying lengthy content

Installation

pip install summarytools

Dependencies

  1. python 3.6+
  2. pandas >= 1.4.0

Quick Start

the quick-start notebook is available in here or Open In Colab

out-of-box dfSummary, freq and ctable functions will generate a HTML based data frame summary.

import pandas as pd
from summarytools import dfSummary
titanic = pd.read_csv('./data/titanic.csv')
dfSummary(titanic)

collapsible summary

import pandas as pd
from summarytools import dfSummary
titanic = pd.read_csv('./data/titanic.csv')
dfSummary(titanic, is_collapsible = True)

tabbed summary

import pandas as pd
from summarytools import dfSummary, tabset
titanic = pd.read_csv('./data/titanic.csv')
vaccine = pd.read_csv('./data/country_vaccinations.csv')
vaccine['date'] = pd.to_datetime(vaccine['date'])

tabset({
    'titanic': dfSummary(titanic).render(),
    'vaccine': dfSummary(vaccine).render()})

Export notebook as HTML

when export jupyter notebook to HTML, make sure Export Embedded HTML extension is installed and enabled.

Using the following bash command to retain the data frame summary in exported HTML.

jupyter nbconvert --to html_embed path/of/your/notebook.ipynb

Stargazers over time

Stargazers over time

Release files for summarytools 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for summarytools 0.4.0
File Size Uploaded
summarytools-0.4.0.tar.gz 21.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for summarytools 0.4.0
File Interpreter ABI Platform
summarytools-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 39.1 kB

Release files / summarytools-0.4.0.tar.gz

Download URL summarytools-0.4.0.tar.gz
Size 21.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ab90368dacaff4c6f728a44d5d13327596e890b59dcc2e099ac3228eaa7fd09d
BLAKE2b-256 checksum
How to use checksums
a4424ce39508174c60ce405bf5947fe4612a086e4c400f3448c6d0c37e6c0b61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.

Transparency log

Release files / summarytools-0.4.0-py3-none-any.whl

Download URL summarytools-0.4.0-py3-none-any.whl
Size 17.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10e9ed5abb8e6341611d836dd3f445249305554757555d1c7d7078fe9a51a82f
BLAKE2b-256 checksum
How to use checksums
359bd66745861c4b44bc4ffdacb924713169840b126768995dcb94a03f391197
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.3

1 release file

0.2.2

1 release file

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page