PyDocs

Nav

Data Types

Counter.fromkeys

collections

classmethod of Counter (source)
  • Counter.fromkeys(iterable)
Create a new dictionary with keys from iterable and values set to value.
0 Examples
No examples for collections/Counter.fromkeys.
See Also
No see-alsos for collections/Counter.fromkeys
0 Notes
No notes for Counter.fromkeys