d3m.container.numpy module¶
-
class
d3m.container.numpy.
ndarray
(input_array: Sequence, metadata: Dict[str, Any] = None, *, generate_metadata: bool = False, check: bool = True, source: Any = None, timestamp: datetime.datetime = None)[source]¶ Bases:
numpy.ndarray
Extended numpy.ndarray with the
metadata
attribute.- Parameters
input_array – Anything array-like to create an instance from. Including lists and standard numpy arrays.
metadata (d3m.metadata.base.DataMetadata) – Optional initial metadata for the top-level of the array, or top-level metadata to be updated if
input_array
is another instance of this array class.generate_metadata – Automatically generate and update the metadata.
check – DEPRECATED: argument ignored.
source – DEPRECATED: argument ignored.
timestamp – DEPRECATED: argument ignored.
-
metadata
: d3m.metadata.base.DataMetadata[source]¶