imaginglss.utils.columnstore module¶
-
class
imaginglss.utils.columnstore.
ColumnStore
[source]¶ Bases:
object
A ColumnStore
Columns are accessed via
[columnname]
.Subclass shall implement
fetch()
,dtype
,size
.A ColumnStore acts as a context manager. During when the context is held, all fetch operations are buffered. The buffers are release after the context is released.
Notes
To retrive the contents of a columns use
[columnname][:]
, or other slicing syntax with a step size of 1.>>> with mycolumnstore: >>> print(mycolumnstore['Column1'][:]) >>> print(mycolumnstore['Column1'][:])
-
dtype
¶ dtype of each item
-
size
¶ Total number of items
-