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 hashes)