Skip to content

Commit 4c3c6bd

Browse files
author
MomIsBestFriend
committed
Finished groupby.pyx
1 parent 9c25055 commit 4c3c6bd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/_libs/groupby.pyx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,8 +753,7 @@ def group_quantile(ndarray[float64_t] out,
753753
assert values.shape[0] == N
754754

755755
if not (0 <= q <= 1):
756-
raise ValueError("'q' must be between 0 and 1. Got"
757-
" '{}' instead".format(q))
756+
raise ValueError(f"'q' must be between 0 and 1. Got '{q}' instead")
758757

759758
inter_methods = {
760759
'linear': INTERPOLATION_LINEAR,

0 commit comments

Comments
 (0)