Data.column

Data.column(col)

Extract one or more columns of data from the datafile.

Parameters:
  • datafile (Data) – Data object to work with if not being used as a bound method.

  • col (int, string, list or re) – is the column index as defined for DataFile.find_col()

Returns:

(ndarray) – One or more columns of data as a numpy.ndarray.