Skip to main content

TSum - Table Summarization

Given a table where rows correspond to records and columns correspond to attributes, we want to find a small number of patterns that succinctly summarize the dataset.

TSum is a table summarization algorithm published by Google Research. This is a Python implementation of the algorithm using Dask Dataframes for scale.

Usage

import dask.dataframe as dd
from tsum import summarize, Pattern
from dask.distributed import LocalCluster

cluster = LocalCluster(n_workers=1, nthreads=8, diagnostics_port=8787)
client = cluster.get_client()
ddf: dd.DataFrame = ...
patterns: list[Pattern] = summarize(ddf=ddf)

Metadata

Release files for tsum 0.1.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 tsum 0.1.0
File Size Uploaded
tsum-0.1.0.tar.gz 7.7 kB Details

Built distribution (wheel)

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

Total release size: 21.7 kB

Release files / tsum-0.1.0.tar.gz

Download URL tsum-0.1.0.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4828d78e827290848a19c028dce1056abca56a75a4c62fea3b0d50bac2f4eb67
BLAKE2b-256 checksum
How to use checksums
049e51a253c6bb4690411190d5acaa78d324ec11fd62e25cb0ef96877483b432
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.9.19 Linux/6.5.0-26-generic

Release files / tsum-0.1.0-py3-none-any.whl

Download URL tsum-0.1.0-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8714a2e3e34d229bf584ddec635b3259ef1f3b9c58a53b11842edebc38f27bee
BLAKE2b-256 checksum
How to use checksums
f128c22302bfd944aa9f0b4616b4a457a51de7f89de104118b552338472d8c3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.9.19 Linux/6.5.0-26-generic

Release history Release notifications | RSS feed

This release

0.1.0 This release

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