Skip to main content

Tabular data container and associated convenience routines in Python

Project description

Tabular data can be easily represented in Python using the language’s native objects – e.g. by lists of tuples representing the records of the data set. Though easy to create, these kind of representations typically do not enable important tabular data manipulations, like efficient column selection, matrix mathematics, or spreadsheet-style operations.

Tabular is a package of Python modules for working with tabular data. Its main object is the tabarray class, a data structure for holding and manipulating tabular data. By putting data into a tabarray object, you’ll get a representation of the data that is more flexible and powerful than a native Python representation. More specifically, tabarray provides:

  • ultra-fast filtering, selection, and numerical analysis methods, using convenient Matlab-style matrix operation syntax

  • spreadsheet-style operations, including row & column operations, ‘sort’, ‘replace’, ‘aggregate’, ‘pivot’, and ‘join’

  • flexible load and save methods for a variety of file formats, including delimited text (CSV), binary, and HTML

  • sophisticated inference algorithms for determining formatting parameters and data types of input files

  • support for hierarchical groupings of columns, both as data structures and file formats

Note to NumPy Users: The tabarray object is based on the ndarray object from the Numerical Python package (NumPy), and the Tabular package is built to interface well with NumPy in general. In particular, users of NumPy can get many of the benefits of Tabular, e.g. the spreadsheet-style operations, without having replace their usual NumPy objects with tabarrays, since most of the useful functional pieces of Tabular are written to work directly on NumPy ndarrays and record arrays.

Tabular requires Python 2.5 or higher but is not tested with Python 3k. Tabular requires NumPy v1.3 or higher. Any earlier version WILL NOT WORK.

Tabular is in beta!

See documentation at http://www.parsemydata.com/tabular.

You can also clone our mercurial (hg) repository from bitbucket: http://bitbucket.org/elaine/tabular/.

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

tabular-0.0.8.tar.gz (53.5 kB view details)

Uploaded Source

File details

Details for the file tabular-0.0.8.tar.gz.

File metadata

  • Download URL: tabular-0.0.8.tar.gz
  • Upload date:
  • Size: 53.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tabular-0.0.8.tar.gz
Algorithm Hash digest
SHA256 c28567bb99b1d4d10106f584b09a6161bb3f02b3fa789e6aac6fbe450a145f76
MD5 104bd3c35dda0e895f1660d5bd47bb14
BLAKE2b-256 0a51b7fc7787801ec45479cf1d2fc8555da8da55d60a3be57f0f4c9185a8438e

See more details on using hashes here.

Supported by

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