DOC: add exmaple for table.reduce