pymzn.rebase_array

pymzn.rebase_array(d, recursive=False)

Transform an indexed dictionary (such as those returned by the dzn2dict function when parsing arrays) into an multi-dimensional list.

Parameters
  • d (dict) – The indexed dictionary to convert.

  • bool (recursive) – Whether to rebase the array recursively.

Returns

A multi-dimensional list.

Return type

list