DOC : add examples of casting DataFrame and matrix