DataScan.from_dict()

Restore a DataScan from a dictionary produced by to_dict().

Usage

Source

DataScan.from_dict(d)

This reconstructs the profile without needing the original data.

Parameters

d: dict[str, Any]
A dictionary with "metadata" and "columns" keys, as produced by to_dict().

Returns

DataScan
A restored DataScan instance.