: is not a placeholder.  It means to slice everything in that dimension (like b[:][[0, -1]]).