I do not think you want a “dictionary”. Dictionaries can only have 1 key and 1 definition. However if you use pandas and a data-frame you can store all of these.
https://www.tutorialspoint.com/python_pandas/python_pandas_dataframe.htm
More Related Contents:
- Passing a dictionary to a function as keyword parameters
- Using a dictionary to select function to execute
- How to pass dictionary items as function arguments in python? [duplicate]
- “unpacking” a passed dictionary into the function’s name space in Python?
- Multiple Factorials
- How to remove [ ] and ” from Python output [duplicate]
- How can I call a function within a class?
- Convert a Pandas DataFrame to a dictionary
- Convert [key1,val1,key2,val2] to a dict?
- Finding a key recursively in a dictionary
- Is there a way to store a function in a list or dictionary so that when the index (or key) is called it fires off the stored function?
- In Python, how can you load YAML mappings as OrderedDicts?
- Doing something before program exit
- Hashing a dictionary?
- How to apply a function on every row on a dataframe?
- TypeError: ‘dict_keys’ object does not support indexing
- Efficient evaluation of a function at every cell of a NumPy array
- Why should functions always return the same type?
- Make dictionary from list with python [duplicate]
- Using a Python Dictionary as a Key (Non-nested)
- How can one make a dictionary with duplicate keys in Python?
- How do I return dictionary keys as a list in Python?
- Why can’t I use a list as a dict key in python? Exactly what can and cannot be used, and why?
- Python dictionary replace values
- How to get multiple dictionary values?
- Check if all values in list are greater than a certain number
- Sort a list of tuples by second value, reverse=True and then by key, reverse=False
- get python dictionary from string containing key value pairs
- How to create a nested dictionary from a list in Python?
- Store functions in list and call them later [duplicate]