DOC: add example for table.transform