python - pytables: order of rows retrieved from a table with .where(condition) -
i building large table (~10e9 rows) pytables. 2 of tables columns (say idx1
, idx2
) indices. first index sorted. moreover, when creating table, inserting entries in order sorted idx1. want use .where
query selecting data, make full use of indexing.
my question is: when iterate through rows .where iterator, there way guarantee output sorted idx1 column value? alternatively, can assume iterator return rows in order entered in? case far me, didn't want presume.
i tried looking in documentation, couldn't find on topic. know there itersorted
method, not allow me use indexing; have emulate myself somehow.
many in advance suggestions
Comments
Post a Comment