We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a37bfc commit cbfbe3fCopy full SHA for cbfbe3f
tensorflow_data_validation/api/validation_api.py
@@ -22,6 +22,7 @@
22
import logging
23
import apache_beam as beam
24
import pyarrow as pa
25
+import pandas as pd
26
import tensorflow as tf
27
from tensorflow_data_validation import constants
28
from tensorflow_data_validation import types
@@ -52,6 +53,17 @@
52
53
anomalies_pb2.AnomalyInfo.NO_DATA_IN_SPAN,
54
])
55
56
+def preprocess_numerical_to_categorical_by_own_quantiles(
57
+ dataframe: pd.DataFrame,
58
+):
59
+ # TODO: refactor implementation from private project
60
+ return dataframe
61
+
62
+def preprocess_numerical_to_categorical_by_training_quantiles(
63
64
65
66
67
68
def infer_schema(
69
statistics: statistics_pb2.DatasetFeatureStatisticsList,
0 commit comments