def _get_cython_type_upcast(dtype):
if is_integer_dtype(dtype):<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>elif is_float_dtype(dtype):<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>return '<STR_LIT:object>'<EOL><DEDENT>
Upcast a dtype to 'int64_t', 'double', or 'object