Closed yungyuc closed 5 years ago
I originally thought numpy view binding (#130) is necessary, but it turned out the feature I needed is already in the code base.
Would someone be willing to take a look at this? If the fixes for pybind11 2.3 should be in a separate PR, I can close this and file two new ones.
@yungyuc sorry for the late reply! I am looking at it now.
113 added the ability to take the memory buffer of an
xarray
and share it withndarray
in Python, but there wasn't an example for how to do it. This PR adds an example in the pytest directory.I also fixed some formatting and compatibilty issue with pybind11 2.3.