DOC: add example for Table.collapse