Posts by R. Moura • 3 points
2 posts
-
0
votes0
answers157
viewsQ: Extract numpy arrays from a dictionary iteratively
I have a dictionary of the following kind: data = {'neuron4':Numpy array, 'stim':Numpy array, 'neuron3':Numpy array, 'neuron2':Numpy array, 'neuron1':Numpy array} I tried to do something like for…
-
-1
votes1
answer41
viewsQ: Select lines by first digits, and average them per year
I have a CSV of the following type: code year sales 2011 1970 5000 2011 1971 5200 2011 1972 ... ... 2015 1970 2015 1971 2015 1972 ... 3025 ... 3026 ... 3052 ... How can I select all lines from code…