lmpy.tools.wrangle_matrix

Tool for wrangling a Matrix.

Module Contents

Functions

cli()

Provice a command-line interface to the wrangle matrix tool.

wrangle_matrix(mtx, wranglers)

Wrangle the Matrix as configured.

lmpy.tools.wrangle_matrix.cli()[source]

Provice a command-line interface to the wrangle matrix tool.

lmpy.tools.wrangle_matrix.wrangle_matrix(mtx, wranglers)[source]

Wrangle the Matrix as configured.

Parameters
  • mtx (Matrix) – A Matrix to wrangle.

  • wranglers (list) – A list of tree data wranglers.

Returns

The modified Matrix object. list: A list of report dictionaries.

Return type

Matrix