lmpy.data_wrangling.base

Module containing base class for data wranglers.

Module Contents

Classes

_DataWrangler

Base class constructor.

class lmpy.data_wrangling.base._DataWrangler(*args, **kwargs)[source]

Base class constructor.

Parameters
  • *args (tuple) – Positional arguments.

  • **kwargs (dict) – Dictionary of parameters.

name = _DataWrangler[source]
version = 1.0[source]
classmethod from_config(cls, config)[source]

Get an instance generated from the provided configuration.

Parameters

config (dict) – A dictionary of configuration parameters.

Returns

The instance created from the parameters.

Return type

_DataWrangler

get_report(self)[source]

Get a report of the results of the wrangler.

Returns

A dictionary of reporting information.

Return type

dict