Skip to main content

Datashader

Travis build Status Appveyor build status Task Status

Datashader is a data rasterization pipeline for automating the process of creating meaningful representations of large amounts of data. Datashader breaks the creation of images of data into 3 main steps:

  1. Projection

    Each record is projected into zero or more bins of a nominal plotting grid shape, based on a specified glyph.

  2. Aggregation

    Reductions are computed for each bin, compressing the potentially large dataset into a much smaller aggregate array.

  3. Transformation

    These aggregates are then further processed, eventually creating an image.

Using this very general pipeline, many interesting data visualizations can be created in a performant and scalable way. Datashader contains tools for easily creating these pipelines in a composable manner, using only a few lines of code. Datashader can be used on its own, but it is also designed to work as a pre-processing stage in a plotting library, allowing that library to work with much larger datasets than it would otherwise.

Installation

The best way to get started with Datashader is install it together with our extensive set of examples, following the instructions in the examples README.

If all you need is datashader itself, without any of the files used in the examples, you can install it from the bokeh channel using the using the conda package manager:

conda install -c bokeh datashader

If you want to get the very latest unreleased changes to datashader (e.g. to edit the source code yourself), first install using conda as above to ensure the dependencies are installed, and you can then tell Python to use a git clone instead:

conda remove --force datashader
git clone https://github.com/bokeh/datashader.git
cd datashader
pip install -e .

Datashader is not currently available on PyPI, to avoid broken or low-performance installations that come from not keeping track of C/C++ binary dependencies such as LLVM (required by Numba).

To run the test suite, first install pytest (e.g. conda install pytest), then run py.test datashader in your datashader source directory.

Learning more

After working through the examples, you can find additional resources linked from the datashader documentation, including API documentation and papers and talks about the approach.

Screenshots

USA census

NYC races

NYC taxi

Download files

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

Source Distribution

datashader-0.6.6.tar.gz (19.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datashader-0.6.6-py2.py3-none-any.whl (9.8 MB view details)

Uploaded Python 2Python 3

File details

Details for the file datashader-0.6.6.tar.gz.

File metadata

  • Download URL: datashader-0.6.6.tar.gz
  • Upload date:
  • Size: 19.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for datashader-0.6.6.tar.gz
Algorithm Hash digest
SHA256 fe0a3d96203a4af2c55e6ecf6ccb5d993e2f7ea3b03220e25108744e1fe0d73f
MD5 f278d0b51d7632d2a59b3a9ce0cc6e0a
BLAKE2b-256 ac0f098ea6405c5d58cbe8ae7e9ab0f418bf032b767a70bef61dae4f28305054

See more details on using hashes here.

File details

Details for the file datashader-0.6.6-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for datashader-0.6.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 46bae546491b2d757213fd83b5ff4cf56b55db4180b6ab5aad8aa102921d16de
MD5 ba0a41c30a04c278d83d7310ddf5c10b
BLAKE2b-256 c7fce33f1382f1ada2af60fcbf8e2426e200bbaa9fa9dcb6df1e86242f92aff3

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page