This repository was archived by the owner on Jan 23, 2026. It is now read-only.
Merged
Conversation
|
9dc8104 to
0161271
Compare
|
Contributor
Author
|
Removed milestone, since this is not making 3.6. |
This reverts commit dc09301. Removed because we are not aiming for 100% compatibility with this PR.
2c62f84 to
15f068b
Compare
d868511 to
c19d362
Compare
|
DavIvek
approved these changes
Nov 5, 2025
40 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Implement
frequencies_as_mapwhich returns a map of frequencies of the items in the collection. The result is in the form{value: count}, wherevalueis always astring. For example,frequencies_as_map([1,3,5,7,9,9])returns:Pull request type
######################################
Reviewer checklist (the reviewer checks this part)
Module/Algorithm
Documentation checklist
collections.frequencies_as_mapfunction to count element occurrences in a list.frequencies_as_mapdocs documentation#1461