python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Remove Parenthesis from Dictionary Value in Python
I have a dictionary where the data looks like:
imdb_data = {
'title': [
'The Shawshank Redemption',
'The Godfather',
'The Dark Knight',
'The Godfather: Part II']
'year': [
'(19...
Timothy C.
Votes: 0
Answers: 4
Undesirable output when using fromkeys to initialize a dict with lists
I tried creating a 1D array of a grid point with values of x, and y as a list and then formed a dictionary to make a complete grid with some values stored w.r.t. each keys (grid point x,y), in this ca...
Yash54
Votes: 0
Answers: 0
How to nest two dictionaries together based on identical values?
I have two dictionaries and I am trying to nest them together to organize the values. I am so lost!
component_dict = {'11309': ['a','b', 'c'],
'11525': ['d', 'e'] }
sku_dict = {'...
palantir
Votes: 0
Answers: 2
When does a HashTable / Python dict stop probing?
In Java I'm building a datastructure that is supposed to resemble dictionaries in Python.
(As far as I understand this is called a "HashTable" in java context.)
I have read the following Pyt...

Markus B
Votes: 0
Answers: 1