title: Casting array of bytes in numpy to int32
body: <p>I have a numpy array A of two bytes which I want to combine into an int32. How do I do casting which combines array elements to create different datatype?</p>