We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79ad8b7 commit 9cefcdfCopy full SHA for 9cefcdf
src/power_grid_model_ds/_core/model/arrays/base/array.py
@@ -332,4 +332,4 @@ def from_extended(cls: Type[Self], extended: Self) -> Self:
332
if not isinstance(extended, cls):
333
raise TypeError(f"Extended array must be of type {cls.__name__}, got {type(extended).__name__}")
334
dtype = cls.get_dtype()
335
- return cls(data=np.array(extended.data[list(dtype.names)], dtype=dtype))
+ return cls(data=np.array(extended[list(dtype.names)], dtype=dtype))
0 commit comments