Am 12.07.2019 um 17:04 schrieb Allin Cottrell:
On Fri, 12 Jul 2019, Sven Schreiber wrote:
>
> Something else: BTW, the guide mentions that --send-data is not
> available with Ox, but is silent for the Python case. Actually Artur and
> I are working (not too hard) on more tools for passing stuff to Python,
> but enabling --send-data would also be nice. What Python/numpy functions
> would you need to make this work?
Basically just a CSV reading function -- and presumably a target
structure that handles variable names, to make a distinction with just
sending data in matrix form.
OK, perhaps Jack's remark will imply that instead of --send-data
something more general will happen for the Python integration (e.g. json
based).
But if not, it seems that we would need a solution based on the
genfromtxt function:
https://docs.scipy.org/doc/numpy/reference/generated/numpy.genfromtxt.html
Looks relatively straightforward.
cheers
sven