Pulled from the data base, loaded them into a NumPy array, the function:
points = np.asarray(rows)
The resulting array looks somehow so:
[[datetime.date(2016, 10, 7) 150.0]
[datetime.date(2016, 10, 8) 760.0]
Now, I want to aggregate the data from the second column, do this:
x = points.min(axis=1)
But I somehow throws this error:
TypeError: '<=' not supported between instances of 'datetime.date' and 'float'
Help, what am I doing wrong?