Data.columns

Data.columns(not_masked=False, reset=False)

Iterate over the columns of data int he datafile.

Parameters:

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

Keyword Arguments:
  • not_masked (bool) – Only iterate over columns that don’t have masked elements

  • reset (bool) – If true then reset the iterator (immediately stops the current iteration without returning any data)./

Yields:

1D array – Returns the next column of data.