Skip to content

Commit

Permalink
hotfix[0.10.2]: cat vs float bug (capitalone#973)
Browse files Browse the repository at this point in the history
* fix: cat vs float bug

* refactor: update version
  • Loading branch information
JGSweets authored and junholee6a committed Sep 17, 2023
1 parent 6861771 commit cf4d651
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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
2 changes: 1 addition & 1 deletion dataprofiler/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

MAJOR = 0
MINOR = 10
MICRO = 1
MICRO = 2
POST = None # otherwise None

VERSION = "%d.%d.%d" % (MAJOR, MINOR, MICRO)
Expand Down

0 comments on commit cf4d651

Please sign in to comment.