Skip to main content

Annotate data analysis

Project description

]# annot

Annotate data analysis

Command line usage

Start in a directory with some data:

ls faa-wildlife.csv

To create an annot project:

annot No .annot directory here. Want to create one? [y]/n: y Created .annot Created .annot/index.rst Created .annot/index.html Created .annot/DataTables/ Created .annot/data Created .annot/temp

To open the annot in a web browser:

annot open

To add a datasets to the page:

annot add my.csv

To add comments to the page:

annot markdown '# Background' annot markdown 'This csv has my data' -or-

edit .annot/index.rst in a text editor, then

annot render

To add content to the page from Jupyter:

import annot page = annot.Page('path/to/.annot') page.add_dataframe(df) page.add_plot(matplotlib.pyplot.gca()) page.add_markdown('# Results') page.add_html('')

Use from Visidata

To save visidata sheets directly to page:

Using vdannot:

Setup:
  PYTHONPATH=dir/with/annot.py
  export PYTHONPATH
  ~/.visidata/vdannot.py # exists
  ~/.visidatarc contains 'import vdannot'

When you have a sheet to save:
  SPACE annot-csv ENTER my_freq_table ENTER

Without using vdannot:

Start this long-running process:
> annot monitor

In a different shell, open visidata. When you create a new sheet you
want to save, such as after creating a frequency table, save the
sheet as csv in the .annot/data directory
 - Ctrl-S
 - Path: .annot/data/my_freq_table.csv

To add a markdown comment:

SPACE annot-markdown ENTER This is interesting data ENTER

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

annot-0.0.3.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

annot-0.0.3-py3-none-any.whl (411.4 kB view details)

Uploaded Python 3

File details

Details for the file annot-0.0.3.tar.gz.

File metadata

  • Download URL: annot-0.0.3.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.3.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9

File hashes

Hashes for annot-0.0.3.tar.gz
Algorithm Hash digest
SHA256 cd6c4eab284b62243cfc8d7e5603acbfa052f512e75c151e6a027d4e1a01fbf5
MD5 b991035b2739616198e0ad0c1111b8c4
BLAKE2b-256 f92458339cd0d30a6e0482f6fa5be9eb4a0675edb40e1fc12ed2fe11b784624a

See more details on using hashes here.

File details

Details for the file annot-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: annot-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 411.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.3.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9

File hashes

Hashes for annot-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3c492eb9dd744c03f2690dc9f2ba70b71af98e69e5b903b3f976497ac537b246
MD5 13a41a357fe3e1e260cbda8c837cc260
BLAKE2b-256 bc717faf3243ba39279233143f49a50881ea5303f423e968b75160ff6abce2d7

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