Convert numpy array to tuple,tuple([tuple(row) for row in myarray])