polpo.preprocessing.dict#

Classes#

DictExtractKey(key)

DictFilter(func[, filter_keys])

DictMap([step, pbar, key_step, ...])

Apply a given step to each element of a dict.

DictMerger()

DictNoneRemover()

DictToTuplesList()

DictToValuesList()

DictUpdate()

ExtractUniqueKey()

Filter(func[, collection_type, to_iter])

FunctionCaller(func, **kwargs)

Calls a function with preset kwargs.

Hash([key_index, ignore_none, ignore_empty])

HashWithIncoming([step, key_step])

IdentityStep()

ListDictSwapper()

Map(step[, n_jobs, verbose, force_iter])

NestDict([sep])

NestedDictMap(step, *args[, depth, ...])

Nested dict map.

NestedDictSwapper()

ParDictMap(step[, n_jobs, verbose])

Apply a given step to each element of a dict in parallel.

PreprocessingStep()

Preprocessing step.

SelectKeySubset(subset[, keep])

Select key subset.

SerialDictMap([step, pbar, key_step, ...])

Apply a given step to each element of a dict.

StepWrappingPreprocessingStep([step])

UnnestDict([sep])

ValuesListToDict([keys])

ZipWithKeys(step[, check_length])

Apply step to the values of a dict.