- Notifications
You must be signed in to change notification settings - Fork752
-
I just started using pythonnet with C# and I am having trouble passing multi-dimensional arrays back and forth between python and C#. I can receive the arrays in C# but I can not convert the PyObject received to a C# object. Can someone point me to some documentation or example code to help me figure this issue out? To be a little more specific, on the python side I am creating and working with 2, 3 and 4 dimensional matrices that I would like to pass to C#. I can pass the data but I am unable to convert these matrices into C# objects. These matrices are float and integer matrices. Thank you. |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment 1 reply
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
If the memory is contiguous, you can use |
BetaWas this translation helpful?Give feedback.
All reactions
-
Thank you for your response, that worked. |
BetaWas this translation helpful?Give feedback.