Skip to content

Commit

Permalink
fix: cat vs float bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JGSweets committed Jul 27, 2023
1 parent 6cb789a commit d1febb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataprofiler/profilers/float_column_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d1febb4

Please sign in to comment.