internal static void FillObjects(ndarray arr, object o) { dtype d = arr.Dtype; if (d.IsObject) { if (d.HasNames) { foreach (string name in d.Names) { ndarray view = NpyCoreApi.GetField(arr, name); FillObjects(view, o); } } else { NpyCoreApi.FillWithObject(arr, o); } } }