tfdv.load_statistics
Stay organized with collections
Save and categorize content based on your preferences.
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-18 UTC.
[null,null,["Last updated 2024-10-18 UTC."],[],[],null,["# tfdv.load_statistics\n\n\u003cbr /\u003e\n\n|----------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/data-validation/blob/v1.16.1/tensorflow_data_validation/utils/stats_util.py#L347-L369) |\n\nLoads data statistics proto from file. \n\n tfdv.load_statistics(\n input_path: Text\n ) -\u003e statistics_pb2.DatasetFeatureStatisticsList\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|--------------|------------------------------------------------------------------------------------------------------------------------------------------------|\n| `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. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| A DatasetFeatureStatisticsList proto. ||\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Raises ------ ||\n|-----------|-----------------------------------|\n| `IOError` | If the input path does not exist. |\n\n\u003cbr /\u003e"]]