Open
Description
Repro code
#r "nuget:Numpy.Bare"
using Numpy;
var nd = np.asarray(new [] {1});
nd
Error: Python.Runtime.PythonException: TypeError : 'numpy.core.multiarray.flagsobj' object is not iterable
at Python.Runtime.PyIter..ctor(PyObject iterable)
at Python.Runtime.PyObject.GetEnumerator()
at System.Linq.Enumerable.CastIterator[TResult](IEnumerable source)+MoveNext()
at Microsoft.DotNet.Interactive.Formatting.EnumerableExtensions.TakeAndCountRemaining[T](IEnumerable`1 source, Int32 count, Boolean forceCountRemainder)
Is this something that needs to be adjusted in Numpy.NET or is it a dotnet Interactive thing ?
Metadata
Metadata
Assignees
Labels
No labels