IPGP/scientific_python_cheat_sheet

More on list splicing and indexing

Closed this issue · 2 comments

List indexing such as a[:3] are in the NumPy section but they should be in the regular Python list section as well (or only).

Also, negative indexing should be included such as a[-1] or a[:-2], etc

It is indeed worth to be added.

I think we are covered now.