File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
tensorflow_data_validation/api Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 22
22
import logging
23
23
import apache_beam as beam
24
24
import pyarrow as pa
25
+ import pandas as pd
25
26
import tensorflow as tf
26
27
from tensorflow_data_validation import constants
27
28
from tensorflow_data_validation import types
52
53
anomalies_pb2 .AnomalyInfo .NO_DATA_IN_SPAN ,
53
54
])
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
+ dataframe : pd .DataFrame ,
64
+ ):
65
+ # TODO: refactor implementation from private project
66
+ return dataframe
55
67
56
68
def infer_schema (
57
69
statistics : statistics_pb2 .DatasetFeatureStatisticsList ,
You can’t perform that action at this time.
0 commit comments