7.3.1. fdict

fdict(parent, x, key=None, value=None, merge=False)[source]

Convert the input array into a dictionary.

Parameters:
  • parent (xlref.parser.Ref) – Parent parser.
  • x (list|numpy.array) – Array.
  • key (str|dict) – Filter applied to keys.
  • value (str|dict) – Filter applied to values.
  • merge (bool) – Filter applied to values.
Returns:

Parsed dictionary.

Return type:

dict