How to use the partd.Dict function in partd

To help you get started, we’ve selected a few partd 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 dask / dask / dask / dataframe / shuffle.py View on Github external
def __call__(self, *args, **kwargs):
        import partd

        if self.tempdir:
            file = partd.File(dir=self.tempdir)
        else:
            file = partd.File()
        if self.buffer:
            return partd.PandasBlocks(partd.Buffer(partd.Dict(), file))
        else:
            return partd.PandasBlocks(file)

partd

Appendable key-value storage

BSD-3-Clause
Latest version published 7 months ago

Package Health Score

86 / 100
Full package analysis