Numpy Array Indexing With Sql Server