DOC: add examples for table.partition