imaginglss.utils.fsarray module

class imaginglss.utils.fsarray.ElasticArray(size=0)[source]

Bases: object

a Elastic Array that can be stored as a filesystem tree of binary files, plus some text format meta data.

dtype
extend(newrows)[source]

grow the array with new rows

classmethod fromfile(prefix)[source]
classmethod fromndarray(array, copy=False)[source]
keys()[source]
select(indices, columns=None)[source]

returns a new ElasticArray with only items at indices.

tofile(prefix)[source]
tondarray(columns=None)[source]