Hi Barry,
I have two large numpy arrays that I need to bring into a local lianja table to query the data.
The matrix shapea are both(481, 536, 3)
Thanks
Herb
Printable View
Hi Barry,
I have two large numpy arrays that I need to bring into a local lianja table to query the data.
The matrix shapea are both(481, 536, 3)
Thanks
Herb
Hi Herb
See my suggestion below.
Hi Herb,
You could process the 3D array and create a table as described in the doc.
https://www.lianja.com/doc/index.php...data_in_Python
Thinking more about this it may be better just to create a table with key/value pairs and create the key as a character field to represent the numpy array index as:
key = strzero(x) + strzero(y) + strzero(z)
where x,y,z represent the array indices.
then the value is the array element value.
It is then relatively easy to lookup a key/value pair.
Hi Barry,
Thanks! I will try that.
Herb