-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on visualisation of NDArray in dotnet interactive jupyter notebook #103
Comments
The flags probably would have to be wrapped in a similar manner as NDArray to support enumeration. I have currently no time to work on that though. If you want to improve Numpy.NET integration with dotnet interactive jupyter notebook you are welcome to contribute and I'd answer any questions you'd have along the way. |
Happy to take a look and see if I can contribute. |
I would say you have to find out what method or property of NDArray gets called by the notebook that causes the error. I assume that the returned object which the notebook is trying to enumerate is a python object which we should wrap with a c# facade that supports enumeration.
NDarray probably doesn't. Usually you don't enumerate an NDarray. NDArray is a wrapper around the python ndarray object field
No, not necessarily. Let's assume the notebook is calling a Flags property of NDArray (you have to find out). If so, you add a class Hope this gets you started. If any more questions arise don't hesitate to ask. If you have any concrete problems I will also directly help you (i.e. by directly pusing into your PR if that is easier than explaining). Look at the |
Repro code
Is this something that needs to be adjusted in Numpy.NET or is it a dotnet Interactive thing ?
The text was updated successfully, but these errors were encountered: