View source on GitHub |
Loads data statistics proto from file.
tfdv.load_statistics(
input_path: Text
) -> statistics_pb2.DatasetFeatureStatisticsList
Args | |
---|---|
input_path
|
Data statistics file path. The file should be a one-record TFRecord file or a plain file containing the statistics proto in Proto Text Format. |
Returns | |
---|---|
A DatasetFeatureStatisticsList proto. |
Raises | |
---|---|
IOError
|
If the input path does not exist. |