tfdv.write_anomalies_text
Stay organized with collections
Save and categorize content based on your preferences.
Writes the Anomalies proto to a file in text format.
tfdv.write_anomalies_text(
anomalies: anomalies_pb2.Anomalies, output_path: Text
) -> None
Args |
anomalies
|
An Anomalies protocol buffer.
|
output_path
|
File path to which to write the Anomalies proto.
|
Raises |
TypeError
|
If the input Anomalies proto is not of the expected type.
|
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.write_anomalies_text\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/anomalies_util.py#L109-L126) |\n\nWrites the Anomalies proto to a file in text format. \n\n tfdv.write_anomalies_text(\n anomalies: anomalies_pb2.Anomalies, output_path: Text\n ) -\u003e None\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|---------------|--------------------------------------------------|\n| `anomalies` | An Anomalies protocol buffer. |\n| `output_path` | File path to which to write the Anomalies proto. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Raises ------ ||\n|-------------|-----------------------------------------------------------|\n| `TypeError` | If the input Anomalies proto is not of the expected type. |\n\n\u003cbr /\u003e"]]