Environment
- Pythonnet version: 2.4.0
- Python version: any
- Operating System: any
Details
var array = new int[5,5];
dynamic numpyArray = np.array(array);
Console.WriteLine(numpyArray.shape);
Expected:
(5, 5)
Actual:
25
Workaround
Write a custom IPyObjectEncoder for multidimensional arrays.