d3m.container.numpy module

class d3m.container.numpy.ndarray(**kwargs)[source]

Bases: numpy.ndarray

Extended numpy.ndarray with the metadata attribute.

  • input_array – Anything array-like to create an instance from. Including lists and standard numpy arrays.

  • metadata – 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 associated with the array.

metadata: metadata_base.DataMetadata[source]