Skip to content

serialize_report

Classes

SerializeReport

Extend the report to be able to dump and load reports.

Methods:

dumps()

Serialize ProfileReport and return bytes for reproducing ProfileReport or Caching.

Returns: Bytes which contains hash of DataFrame, config, _description_set and _report

loads(data)

Deserialize the serialized report

Args: data: The bytes of a serialize ProfileReport object.

Raises: ValueError: if ignore_config is set to False and the configs do not match.

Returns: self

dump(output_file)

Dump ProfileReport to file

load(load_file)

Load ProfileReport from file

Raises: ValueError: if the DataFrame or Config do not match with the current ProfileReport