We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1941f96 commit 5d741d9Copy full SHA for 5d741d9
1 file changed
pystreamapi/_streams/numeric/__numeric_base_stream.py
@@ -65,7 +65,7 @@ def __median(source) -> Union[float, int, None]:
65
@terminal
66
def mode(self) -> Union[list[Union[int, float]], None]:
67
"""
68
- Calculates the mode(s) (most frequently occurring element) of a numerical Stream
+ Calculates the mode/modes (most frequently occurring element/elements) of a numerical Stream
69
:return: The mode, can be int or float
70
71
frequency = Counter(self._source)
0 commit comments