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 2222import logging
2323import apache_beam as beam
2424import pyarrow as pa
25+ import pandas as pd
2526import tensorflow as tf
2627from tensorflow_data_validation import constants
2728from tensorflow_data_validation import types
5253 anomalies_pb2 .AnomalyInfo .NO_DATA_IN_SPAN ,
5354])
5455
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
5567
5668def infer_schema (
5769 statistics : statistics_pb2 .DatasetFeatureStatisticsList ,
You can’t perform that action at this time.
0 commit comments