diff --git a/dataprofiler/profilers/float_column_profile.py b/dataprofiler/profilers/float_column_profile.py index cb509ec41..b816f221c 100644 --- a/dataprofiler/profilers/float_column_profile.py +++ b/dataprofiler/profilers/float_column_profile.py @@ -306,7 +306,7 @@ def _get_float_precision( # length of sampled cells after all punctuation removed len_per_float = ( df_series_clean.sample(sample_size).replace(to_replace=r, value="").map(len) - ) + ).astype(float) # Determine statistics precision precision_sum = len_per_float.sum()