title: Convert uint8 to int64 in python
body: <p>I have a variable which is an uint8 type (it has just two values, 0 and 1), and I want to replace the zeros with -1. Do I have first to transform this variable to int64 (or any integer data type that allows negative numbers)? If so, how could I achieve it?</p>