caterva2.client.Dataset.__init__#
- Dataset.__init__(root, path)#
Represents a dataset within a Blosc2 container.
This class is not intended to be instantiated directly; it should be accessed through a
Root
instance.Examples
>>> import caterva2 as cat2 >>> client = cat2.Client('https://demo.caterva2.net') >>> root = client.get('example') >>> ds = root['ds-1d.b2nd'] >>> ds.dtype 'int64' >>> ds.shape (1000,) >>> ds.chunks (100,) >>> ds.blocks (10,)