Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ltable, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size ltable-0.0.2.zip (7.3 kB) File type Source Python version None Upload date Hashes View

Supported by

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