# tfdv.WriteStatisticsToBinaryFile

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/data-validation/blob/v1.16.1/tensorflow_data_validation/api/stats_api.py#L110-L131) |

API for writing serialized data statistics to a binary file.

    tfdv.WriteStatisticsToBinaryFile(
        output_path: Text
    ) -> None

<br />

<br />

<br />

| ## Args ||
|---|---|
| `output_path` | Output path for writing data statistics. |

<br />

<br />

<br />

<br />

| ## Class Variables ||
|---|---|
| pipeline | `None` |

<br />