How to use the zarr.ones function in zarr

To help you get started, we’ve selected a few zarr examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github tskit-dev / tsinfer / tests / test_formats.py View on Github external
def test_two_arrays(self):
        self.verify_round_trip({"a": zarr.ones(10), "b": zarr.zeros(10)})
github tskit-dev / tsinfer / tests / test_formats.py View on Github external
def test_one_array(self):
        self.verify_round_trip({"a": zarr.ones(10)})