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
Release history Release notifications
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size & hash SHA256 hash help | File type | Python version | Upload date |
---|---|---|---|
ltable-0.0.2.zip (7.3 kB) Copy SHA256 hash SHA256 | Source | None | Jun 3, 2014 |