Skip to content

Commit

Permalink
Merge ffeb086 into 737219e
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanhemani committed Jun 14, 2020
2 parents 737219e + ffeb086 commit efc1523
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 170 deletions.
4 changes: 2 additions & 2 deletions datascience/tables.py
Expand Up @@ -2650,12 +2650,12 @@ def prepare_hist_with_group(group):
values_dict = collections.OrderedDict(values_dict)
if left_end is not None or right_end is not None:
if left_end is None:
if bins[0]:
if bins is not None and bins[0]:
left_end = bins[0]
else:
left_end = min([min(self.column(k)) for k in self.labels if np.issubdtype(self.column(k).dtype, np.number)])
elif right_end is None:
if bins[-1]:
if bins is not None and bins[-1]:
right_end = bins[-1]
else:
right_end = max([max(self.column(k)) for k in self.labels if np.issubdtype(self.column(k).dtype, np.number)])
Expand Down
2 changes: 1 addition & 1 deletion datascience/version.py
@@ -1 +1 @@
__version__ = '0.15.6'
__version__ = '0.15.7'

0 comments on commit efc1523

Please sign in to comment.