mani_skill.trajectory.utils =========================== .. py:module:: mani_skill.trajectory.utils .. autoapi-nested-parse:: Utils for working with ManiSkill trajectory files Submodules ---------- .. toctree:: :maxdepth: 1 /api/mani_skill/trajectory/utils/actions/index Functions --------- .. autoapisummary:: mani_skill.trajectory.utils._get_dict_len mani_skill.trajectory.utils.dict_to_list_of_dicts mani_skill.trajectory.utils.index_dict mani_skill.trajectory.utils.list_of_dicts_to_dict Package Contents ---------------- .. py:function:: _get_dict_len(x) .. py:function:: dict_to_list_of_dicts(x) .. py:function:: index_dict(x, i) .. py:function:: list_of_dicts_to_dict(x) Convert a list of dictionaries into a dictionary of lists/arrays. This is the inverse operation of dict_to_list_of_dicts. :param x: List of dictionaries with the same structure :returns: Dictionary where each value is a list/array containing the corresponding values from input dicts