Some of the capabilities of the table library are shown below:
from table import Table
table = Table(
["1", "2", "3"] # row names,
["a", "b"] # column names,
[[1, 2], # initial values
[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)
Metadata
Release files for table 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| table-0.0.4.tar.gz | 2.6 kB | Details |
Release files / table-0.0.4.tar.gz
| Download URL | table-0.0.4.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a1e965e26ee9b43eea25051571dd44152d670317ae1d0ff02c4456e12aea4cbc
|
|
BLAKE2b-256 checksum How to use checksums |
71d77db625e34fe20702c6c39553ae909b28dc5d4cf4ac9dd3a6da13866e27d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |