astropy/astropy — pull request #185 by taldcroft (2012-03-30 17:37:11+00:00)
Title: Add Table fancy index slicing using list

Previously fancy row slicing was only possible using an `np.array` as the item, e.g. `table[np.array([1, 3, 4])]`. This commit adds slicing using a Python list like `table[[1, 3, 4]]`.

There is an open question about whether this is actually a good thing or if it would be confusing for users. It was suggested by a user as a convenience but I'm interested in opinions from the group. It seems OK to me and is consistent with structured arrays and recarray.