SDMetrics
SDMetrics copied to clipboard
Semantic error in transforming datetime columns using HyperTransformer
The snippet below should be something like: data[field] = pd.Series(integers, data.index).
https://github.com/sdv-dev/SDMetrics/blob/c9967494126e6273d3d97ebf8c1b045861a3f126/sdmetrics/utils.py#L199
As currently implemented, the transformed data will incorrectly map the values to the wrong data if the index in data is not the same as the default index in pd.Series.