Skip to content

Commit

Permalink
Dtypes aren't callable
Browse files Browse the repository at this point in the history
  • Loading branch information
wence- committed Mar 22, 2023
1 parent adb7a0b commit 7998d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/cudf/cudf/core/groupby/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,7 @@ def sample(
size_per_group = np.diff(group_offsets)
if n is not None:
samples_per_group = np.broadcast_to(
size_type_dtype(n), size_per_group.shape
size_type_dtype.type(n), size_per_group.shape
)
if not replace and (minsize := size_per_group.min()) < n:
raise ValueError(
Expand Down

0 comments on commit 7998d90

Please sign in to comment.