and_core

Stoner.core.utils.and_core(other: Union[DataFile, numpy.ndarray], newdata: DataFile) DataFile[source]

Implement the core of the & operator, returning data in newdata.

Parameters
  • other (array,DataFile) – Data whose columns are to be added

  • newdata (DataFile) – instance of DataFile to be modified

Returns

():py:class:DataFile) – new Data object with the columns of other concatenated as new columns at the end of the self object.