BUG: Behaviour of DataFrame.xs when key is not in the index
As from title.
Currently calling df.xs(key) throws KeyError if key is not in the index. I would advocate for it returning an empty dataframe.