Character <-> Int conversion in numpy First thing to do: >>> import numpy Char array to int array [#]_: