I have come across some Python code with slice notation that I am having trouble figuring out. It looks like slice notation but uses a comma and a list:
list[:, [1, 2, 3]]
Is this syntax valid? If so what does it do?