Files
GoldenCheetah/src/Python/SIP
Alejandro Martinez b3680c0dd1 Enabled sequence behavior on PythonDataSeries
Adding __getitem__ makes it to behave like a sequence enabling indexing
and iteration,for example:
s = GC.series(6)
print(s[0], s[-1])
for v in s: print(s)
l = list(s)
print(l.count(0))
2017-12-09 20:36:03 -03:00
..
2017-12-09 16:50:29 +00:00
2017-12-04 15:20:43 +00:00