« first day (2077 days earlier)      last day (1501 days later) » 

04:29
How do I replicate the behavior of numpy.convolve with mode=valid on scipy.ndimage.convolve1d (which I need since I'm dealing with a multidimensional array)?
 
5 hours later…
09:26
1 message moved from Python
09:39
def q2d():
count = 1
highestTemp = 0
lowestTemp = 999
fromTrolleyHighest = ""
fromTrolleyLowest = ""
sendOverData = []
graph = []
d = {}
data = p1.retrieveLiveDataSet()
print(f"values are..{data} ")
output = ""
for i in range(len(data)):

if i != len(data)-1:
if (data[i]['type'] == data[i+1]['type']):
output += str(data[i]['temperature'] + ',')

if (data[i]['type'] != data[i+1]['type']):
output += str(data[i]['temperature'])
d['type'] = data[i]['type']
d['temperature'] = output
sendOverData.insert(count, d)
10:17
1 message moved from Python
 
4 hours later…
13:57
is that related to python ? lmao
1 message moved from Python

« first day (2077 days earlier)      last day (1501 days later) »