We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bce5ab1 commit 5f36693Copy full SHA for 5f36693
pandas/core/algorithms.py
@@ -917,7 +917,7 @@ def value_counts_internal(
917
# Handle normalization as usual
918
result = result / counts.sum()
919
elif normalize == "keep":
920
- # Add normlized values to counts.
+ # Add normalized values to counts.
921
result = result.astype(str) + "(" + (
922
(result / counts.sum()).apply(lambda x: round(x, 6))
923
.astype(str)
0 commit comments