View source on GitHub |
Compare statistics of two slices using Facets.
tfdv.compare_slices(
statistics: statistics_pb2.DatasetFeatureStatisticsList,
lhs_slice_key: Text,
rhs_slice_key: Text
)
Args | |
---|---|
statistics
|
A DatasetFeatureStatisticsList protocol buffer. |
lhs_slice_key
|
Slice key of the first slice. |
rhs_slice_key
|
Slice key of the second slice. |
Raises | |
---|---|
ValueError
|
If the input statistics proto does not have the specified slice statistics. |