Skip to content

Commit f7977e0

Browse files
authored
Fixing groupby_topk.py doctest whitespace normalization. (#1095)
1 parent 13e6a58 commit f7977e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

janitor/functions/groupby_topk.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ def groupby_topk(
4242
3 43 2 pass
4343
4 21 5 fail
4444
>>> df.groupby_topk('result', 'age', 3) # Ascending top 3
45+
... # doctest: +NORMALIZE_WHITESPACE
4546
age id result
4647
result
4748
fail 4 21 5 fail
@@ -50,6 +51,7 @@ def groupby_topk(
5051
1 23 4 pass
5152
3 43 2 pass
5253
>>> df.groupby_topk('result', 'age', 2, {'ascending':False}) # Descending top 2
54+
... # doctest: +NORMALIZE_WHITESPACE
5355
age id result
5456
result
5557
fail 2 22 6 fail

0 commit comments

Comments
 (0)