imaginglss.utils.columnstore module

class imaginglss.utils.columnstore.Column(parent, column)[source]

Bases: object

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

fetch(column, start, end)[source]

Load data from start to end for a column

size

Total number of items

class imaginglss.utils.columnstore.Rows(parent, rows)[source]

Bases: object