emmi.pipeline.batch_processors.rename_keys¶
Classes¶
Utility processor that simply renames the dictionary keys in a batch. |
Module Contents¶
- class emmi.pipeline.batch_processors.rename_keys.RenameKeysBatchProcessor(key_map)¶
Bases:
ksuit.data.BatchProcessorUtility processor that simply renames the dictionary keys in a batch.
Initializes the RenameKeysPostCollator
- Parameters:
key_map (dict[str, str]) – dict with source keys as keys and target keys as values. The source keys are renamed target keys.
- key_map¶