Hello all,

This forum seems a bit dead, but Iâ€™m going to try my luck once more.

Iâ€™m trying to upload data to my Scidb using SciDB-Py 16.9.1. The data that Iâ€™m trying to upload is a Numpy Array, which, for the sake simplicity, can be:

```
In [1]: myarray = np.array([[1,2],[2,4]])
In [2]: myarray
Out[2]:
array([[1, 2],
[2, 4]])
In [3]: myarray.shape
Out[3]: (2, 2)
```

notice that values of this array can be accessed in the following way:

```
In [4]: myarray[0,0]
Out[4]: 1
In [5]: myarray[1,1]
Out[5]: 4
```

My problem starts when I try to upload data like this to Scidb. If I use Scidbâ€™s input operand to create an array based on the numpy array, data is not indexed in the same way, as you can see below

```
In [6]: db.input('<x:int64 not null>[i,j]',upload_data=myarray)[:]
Out[6]:
array([(0, 0, 1), (0, 1, 2), (0, 2, 2), (0, 3, 4)],
dtype=[('i', '<i8'), ('j', '<i8'), ('x', '<i8')])
```

```
In [7]: db.input('<x:int64 not null>[i,j]',upload_data=myarray)[0]
Out[7]: (0, 0, 1)
In [8]: db.input('<x:int64 not null>[i,j]',upload_data=myarray)[3]
Out[8]: (0, 3, 4)
```

what seems to happen is that *j* is filled first and *i* only increments after *j* reaches its max (just like what happens in two nested for loops).

**what I would like to happen** is:

```
In [7]: db.input('<x:int64 not null>[i,j]',upload_data=myarray)[0]
Out[7]: (0, 0, 1)
In [8]: db.input('<x:int64 not null>[i,j]',upload_data=myarray)[3]
Out[8]: (1, 1, 4)
```

**notice the differences between both Out[8].**

Does anyone know how to solve this?

Thank you.