DOC: Add an example of casting array type and byte order using astype.
Merge pull request #4037 from migueldvb/docs

Example to convert the type of an array using the astype method and minor typo fix