Work on array conversion, indexing and numpy dtypes