MCPcopy Create free account
hub / github.com/dask/dask / to_hdf5

Method to_hdf5

dask/array/core.py:1811–1825  ·  view source on GitHub ↗

Store array in HDF5 file >>> x.to_hdf5('myfile.hdf5', '/x') # doctest: +SKIP Optionally provide arguments as though to ``h5py.File.create_dataset`` >>> x.to_hdf5('myfile.hdf5', '/x', compression='lzf', shuffle=True) # doctest: +SKIP See Also --------

(self, filename, datapath, **kwargs)

Source from the content-addressed store, hash-verified

1809 return svg(self.chunks, size=size)
1810
1811 def to_hdf5(self, filename, datapath, **kwargs):
1812 """Store array in HDF5 file
1813
1814 >>> x.to_hdf5('myfile.hdf5', '/x') # doctest: +SKIP
1815
1816 Optionally provide arguments as though to ``h5py.File.create_dataset``
1817
1818 >>> x.to_hdf5('myfile.hdf5', '/x', compression='lzf', shuffle=True) # doctest: +SKIP
1819
1820 See Also
1821 --------
1822 dask.array.store
1823 h5py.File.create_dataset
1824 """
1825 return to_hdf5(filename, datapath, self, **kwargs)
1826
1827 def to_dask_dataframe(self, columns=None, index=None, meta=None):
1828 """Convert dask Array to dask Dataframe

Callers 1

test_to_hdf5Function · 0.80

Calls 1

to_hdf5Function · 0.85

Tested by 1

test_to_hdf5Function · 0.64