lite table, not depden on numpy or sqliteoperations,.. find, filter, group, sort, top, tail ..
Project description
pure python table, operations find, filter, sort, group, top, tail…
theTable = SSTable()
theTable.addIndex( "c_1", 'idx1' );
vCol = [ "c_1", "c_2" ]
theTable.addIndex( vCol, 'idx2' );
theTable.addRow( dict( c_1 = 1, c_2 = 2 ) )
theTable.addRow( dict( c_1 = 1, c_2 = 2 ) )
theTable.addRow( dict( c_1 = 2, c_2 = 3 ) )
#search by index
rs = theTable.findRow( "idx2", ( 1, 2 ) )
pprint( rs.top( 1 ).to_list() )
grs = rs.group( ("c_1") )
- 2014/06/03
Fix bug: Coouldn’t find anything after removeRow
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ltable-0.0.2.zip
(7.3 kB
view details)
File details
Details for the file ltable-0.0.2.zip.
File metadata
- Download URL: ltable-0.0.2.zip
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
029632c3651d6143a58f15e28e6494d56fc3c966518cb560a0774fc8570be8d3
|
|
| MD5 |
fc6524f5dd5cf7cfad79ccfa8deab38f
|
|
| BLAKE2b-256 |
10aba66fdbaf9b1094945604fb8d9264dd5af11a9057455ba2fb4e3667988308
|