A table data viewer for Python
Project description
tabulous
A table data viewer for Python.
from tabulous import open_sample
viewer = open_sample("iris")
tabulous
is highly inspired by napari in its design and API.
df = pd.read_csv("data.csv")
viewer.add_table(df) # add table data to viewer
viewer.tables # table list
table = viewer.tables[1] # get table
table.data # get pd.DataFrame object (or other similar one)
# Connect data changed signal
# See examples/04_data_changed_signal.py
@table.events.data.connect
def _on_data_change(info):
"""data-changed callback"""
# Connect selection changed signal
# See examples/05_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. |
Project details
Release history Release notifications | RSS feed
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.0a0.tar.gz
(36.9 kB
view details)
Built Distribution
File details
Details for the file tabulous-0.1.0a0.tar.gz
.
File metadata
- Download URL: tabulous-0.1.0a0.tar.gz
- Upload date:
- Size: 36.9 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d43509195424b6eeb97ff8be11109ab71ce9f3d2b9465a090042082d95c0ccb0 |
|
MD5 | ceefd58ab2f268ed4991d1213e079d7e |
|
BLAKE2b-256 | 880f5412fe20a846e0fa1fd8f6532bf96f33bb8611234dd67d12aa5bd2170384 |
File details
Details for the file tabulous-0.1.0a0-py3-none-any.whl
.
File metadata
- Download URL: tabulous-0.1.0a0-py3-none-any.whl
- Upload date:
- Size: 46.9 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81365070ff875328b96080f6b3f6be7c44ada81a6406b5c9508dcb6601054e42 |
|
MD5 | 31806c8df2feb5846d5410108accd9d7 |
|
BLAKE2b-256 | a1979e47f2225e6eda66fa6e7d02b327a951ff716d6610051bc41e51d7dfd703 |