Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Automatic generation of codebooks from dataframes.

Project description


Automatically generate codebooks from dataframes. Includes methods to:

  • Infer variable type (as unique key, indicator, categorical, or continuous).
  • Summarize values with histograms and KDEs.
  • Generate a self-contained HTML report (may be extended to PDF or other formats in the future).


codebooks -o output.html input.csv

Adding variable descriptions

You can specify a csv file that maps variable names to descriptions using:

codebooks --desc descriptions.csv -o output.html input.csv

The csv file is expected to have two columns (variable name, description).


3-Clause BSD (see LICENSE)


Mark Howison

Project details

Download files

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

Files for codebooks, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size codebooks-0.0.2.tar.gz (11.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page