Skip to main content

Visualize set membership and missing data

Project description

setvis

Python Package Documentation Status

Setvis is a python library for visualising set membership and patterns of missingness in data.

The plotting and interactive workflow of Setvis is designed for use within a Jupyter notebook (although it is possible to run outside Jupyter). The other components of Setvis can be used interactively or programmatically. The interactive plots are powered by Bokeh widgets.

It operates on data using a memory efficient architecture, and supports loading data from flat files, Pandas dataframes, and directly from a Postgres database.

Documentation

The setvis documentation is hosted on Read the Docs.

Installation (quick start)

For the complete installation instructions, consult the installation page of the documentation, which includes information on some extra installation options and setting up a suitable environment on several platforms.

We recommend installing setvis in a python virtual environment or Conda environment.

To install setvis, most users should run:

pip install 'setvis[notebooks]'

This will include everything to run setvis in a notebook, and to run the tutorial examples that do not need a database connection.

The Bokeh plots produced by setvis require the package notebook >= 6.4 to display properly. This will be included when installing setvis using the command above.

Tutorials

For basic examples, please see the two example notebooks:

Additionally, there is a series of Tutorials notebooks, starting with Tutorial 1.

After installing setvis, to follow theses tutorials interactively you will need to clone or download this repository. Then start jupyter from within it:

python -m jupyter notebook notebooks

Notice

The setvis software is released under the Apache Licence, version 2.0. See LICENCE for details.

The data files ./examples/datasets/simpsons - Format 1.csv and ./examples/datasets/simpsons - Format 2.csv, are based on a data file included in UpSet, copyright Visual Computing Group, Harvard, and distributed here under the terms of the MIT Licence.

The other data files in ./examples/datasets/ are released under the Creative Commons Attribution 4.0 International Licence (CC-BY-4.0).

Acknowledgements

The development of the setvis software was supported by funding from the Engineering and Physical Sciences Research Council (EP/N013980/1; EP/R511717/1) and the Alan Turing Institute.

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

setvis-0.1rc5.tar.gz (29.9 kB view details)

Uploaded Source

Built Distribution

setvis-0.1rc5-py3-none-any.whl (30.5 kB view details)

Uploaded Python 3

File details

Details for the file setvis-0.1rc5.tar.gz.

File metadata

  • Download URL: setvis-0.1rc5.tar.gz
  • Upload date:
  • Size: 29.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.1

File hashes

Hashes for setvis-0.1rc5.tar.gz
Algorithm Hash digest
SHA256 8ddf8f76181c0d5b06191e1e33e97a19f33d3496c4d221072ca7338b9afeb4fa
MD5 eb077f529d300c3a346e3904f5b458ce
BLAKE2b-256 6b89612e054f4e0a715928393ed7c6f4d9d754c11d172f7945dfa194f36e3f94

See more details on using hashes here.

File details

Details for the file setvis-0.1rc5-py3-none-any.whl.

File metadata

  • Download URL: setvis-0.1rc5-py3-none-any.whl
  • Upload date:
  • Size: 30.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.1

File hashes

Hashes for setvis-0.1rc5-py3-none-any.whl
Algorithm Hash digest
SHA256 b5c918a0eea6812c6dfda1bf781a2a11df8141ea31a11e1972fcc6b34e912282
MD5 738dbf4203b08fe17734964836647726
BLAKE2b-256 3954dfc5e07b18b60e5a0b355f3ccc240bb543093cb17977c68e7a4e3f330385

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