## Slicing

### We use python style slicing to define indices

When defining tasks, it is often useful to be able to define
ranges of rows or columns. In particular, this applies to the
definition of **zero-based**.
Of course, you can just list the indices
directly:

0,1,2,3,4,5,6,7,8,9

But often, it would be more convenient to define ranges:

0:10

where the range is defined in a left-closed, right-open interval [x,y).

Note that we also supported a mixed syntax enumerations and slice-ranges, e.g.,

0:10,17,99,100:200

#### Contents

#### Acknowledgements

This project is supported by PASCAL (Pattern Analysis, Statistical Modelling and Computational Learning)

http://www.pascal-network.org/.