Skip to main content

A table data viewer for Python

Project description

Downloads PyPI version

tabulous

A table data viewer for Python.

tabulous is highly inspired by napari in its design and API.

Installation

Install all the dependencies including functionalities of loading sample data, plotting, etc.
pip install tabulous[all]
Install with PyQt5 backend.
pip install tabulous[pyqt5]

Documentation

Documentation is available here.

How it works.

from tabulous import open_sample

viewer = open_sample("iris")  # open a sample data from seaborn

df = pd.read_csv("data.csv")
viewer.add_table(df)  # add table data to viewer
viewer.tables  # table list
table = viewer.tables[0]  # get table
table.data  # get pd.DataFrame object (or other similar one)

# Connect data changed signal
# See examples/03-0_data_changed_signal.py
@table.events.data.connect
def _on_data_change(info):
    """data-changed callback"""

# Connect selection changed signal
# See examples/03-1_selection_changed.py
@table.events.selections.connect
def _on_selection_change(selections):
    """selection-changed callback"""

Supported table types

Table SpreadSheet
A dtype-tagged table view with fixed size, aimed at viewing and editing pd.DataFrame. This table is the most basic one. A string based table editor. Table is converted into pd.DataFrame object with proper dtypes consistent with reading CSV file using pd.read_csv.
GroupBy TableDisplay
A table group that corresponds to the returned object of the groupby method of pd.DataFrame. A table viewer that hotly reloads data using provided loader function. Useful for streaming data from other softwares.

Supported view modes

Dual view Popup view
Display two locations in a table. Open a popup window of the table.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tabulous-0.1.1.tar.gz (385.4 kB view details)

Uploaded Source

Built Distribution

tabulous-0.1.1-py3-none-any.whl (119.3 kB view details)

Uploaded Python 3

File details

Details for the file tabulous-0.1.1.tar.gz.

File metadata

  • Download URL: tabulous-0.1.1.tar.gz
  • Upload date:
  • Size: 385.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.63.0 CPython/3.9.7

File hashes

Hashes for tabulous-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2c43705cb6e4ec6050c4055166f9839de99fa61122fe40270a6f826dac855f6f
MD5 eb09ebafaf4b4578c6ac9b568d819dc6
BLAKE2b-256 ad0f8436785a8b47013bbf76d1121fb5508479387d3075382e8cb8837405382b

See more details on using hashes here.

File details

Details for the file tabulous-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tabulous-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 119.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.63.0 CPython/3.9.7

File hashes

Hashes for tabulous-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 944a99cc2e97c6bb31cf9b2d1a19b7de34afc0589c575500f789598a0dd1beff
MD5 c01d84a8537c216bd618afb8d2abf8dd
BLAKE2b-256 02383564608fa4d24d72505b557116d52f37003850e25783f274e43d28851b1b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page