Skip to content

Commit

Permalink
Hot Fix: .astype("bool") (#960)
Browse files Browse the repository at this point in the history
* force as boolean

* version bump
  • Loading branch information
taylorfturner authored Jul 17, 2023
1 parent 77ddb29 commit 6cb789a
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 @@ -338,7 +338,7 @@ def _is_each_row_float(cls, df_series: pd.Series) -> list[bool] | pd.Series[bool
"""
if len(df_series) == 0:
return list()
return df_series.map(NumericStatsMixin.is_float)
return df_series.map(NumericStatsMixin.is_float).astype("bool")

@BaseColumnProfiler._timeit(name="precision")
def _update_precision(
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 = 0
MICRO = 1
POST = None # otherwise None

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

0 comments on commit 6cb789a

Please sign in to comment.