Skip to main content

Two-dimensional tables backed by Numpy with named rows and columns.

Project description

Some of the capabilities of the table library are shown below:

from table import Table

table = Table(["1", "2", "3"], ["a", "b"], [[1, 2], [3, 4], [5, 6]])
print "Whole table:"
print table

print "Just a cell:"
print table["1", "a"]

print "A row:"
print table["2", :]

print "A column:"
print table[:, "b"]

print "A range:"
print table["2":, :]

The library also provides basic I/O capability for simple delimited files and standard CSV files:

table1 = readTableFromDelimited(f)
table2 = readTableFromCSV(f)

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

table-0.0.2.tar.gz (2.6 kB view hashes)

Uploaded source

Supported by

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