mani_skill.trajectory.utils#
Utils for working with ManiSkill trajectory files
Submodules#
Functions#
|
|
Convert a list of dictionaries into a dictionary of lists/arrays. |
Package Contents#
- mani_skill.trajectory.utils.list_of_dicts_to_dict(x)[source]#
Convert a list of dictionaries into a dictionary of lists/arrays.
This is the inverse operation of dict_to_list_of_dicts.
- Parameters:
x – List of dictionaries with the same structure
- Returns:
Dictionary where each value is a list/array containing the corresponding values from input dicts