def slice_cardinal(self, key):
cls = self.__class__<EOL>key = check_key(self, key, cardinal=True)<EOL>return cls(self[self[self._cardinal[<NUM_LIT:0>]].isin(key)])<EOL>
Get the slice of this object by the value or values of the cardinal
dimension.