Chapel-Python interop for arrays currently works with two possibilities:
a Chapel interop array with numpy-like fields
an opaque Chapel array
In both cases, I think that the Chapel-Python interop story should include Python library code that enables these types to have the same methods an a NumPy array. Since Python uses "duck typing", this should enable a significant amount of Python code that works on NumPy arrays to immediately work with Chapel arrays instead.
Chapel-Python interop for arrays currently works with two possibilities:
In both cases, I think that the Chapel-Python interop story should include Python library code that enables these types to have the same methods an a NumPy array. Since Python uses "duck typing", this should enable a significant amount of Python code that works on NumPy arrays to immediately work with Chapel arrays instead.
See https://docs.scipy.org/doc/numpy/reference/generated/numpy.ndarray.html for a list of methods available on numpy arrays.