Hi,
I'm trying to create an NDarray to store DateTime values from a normal C# array. When I try to create the NDarray I get the following error: Can not convert type of given object to dtype: System.String[].
string[]times=newstring[50];DateTimenow=DateTime.Now;for(inti=0;i<50;i++)times[i]=now.AddSeconds(i).ToString();// Raises ExceptionNDarray<string>nTimes=np.array<string>(times);
When I try to make a NDarray<float> it works fine, but for NDarray<DateTime> and NDarray<string> this error occurs. Is there something I am doing wrong here or are these types not supported? Thanks for the help!
Hi,
I'm trying to create an NDarray to store DateTime values from a normal C# array. When I try to create the NDarray I get the following error: Can not convert type of given object to dtype: System.String[].
When I try to make a NDarray<float> it works fine, but for NDarray<DateTime> and NDarray<string> this error occurs. Is there something I am doing wrong here or are these types not supported? Thanks for the help!