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

Method to_hdf5

dask/array/core.py:1808–1822  ·  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

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