Skip to main content

column

Method of CSVFile.

Overloads​

NameDescription
column(const string selector, as_complex | as_array type) -> ComplexArrayReturns a CSV column as a vector-shaped array or matrix.
column(const integer selector, as_complex | as_array type) -> ComplexArrayReturns a CSV column as a vector-shaped array or matrix.
column(const integer selector, as_real | as_array type) -> RealArrayReturns a CSV column as a vector-shaped array or matrix.
column(const integer selector, as_integer | as_array type) -> IntegerArrayReturns a CSV column as a vector-shaped array or matrix.
column(const integer selector, as_bool | as_array type) -> BoolArrayReturns a CSV column as a vector-shaped array or matrix.
column(const string selector, as_real | as_matrix type) -> RealMatrixReturns a CSV column as a vector-shaped array or matrix.
column(const integer selector, as_complex | as_tensor type) -> ComplexTensorReturns a CSV column as a rank-1 tensor.
column(const integer selector, as_real | as_tensor type) -> RealTensorReturns a CSV column as a rank-1 tensor.
column(const integer selector, as_real | as_matrix type) -> RealMatrixReturns a CSV column as a vector-shaped array or matrix.
column(const string selector, as_real | as_array type) -> RealArrayReturns a CSV column as a vector-shaped array or matrix.
column(const string selector, as_integer | as_array type) -> IntegerArrayReturns a CSV column as a vector-shaped array or matrix.
column(const string selector, as_bool | as_array type) -> BoolArrayReturns a CSV column as a vector-shaped array or matrix.
column(const string selector, as_string value) -> ListReturns a named column converted by a primitive type tag.
column(const string selector, as_complex value) -> ListReturns a named column converted by a primitive type tag.
column(const string selector, as_real value) -> ListReturns a named column converted by a primitive type tag.
column(const string selector, as_integer value) -> ListReturns a named column converted by a primitive type tag.
column(const string selector, as_bool value) -> ListReturns a named column converted by a primitive type tag.
column(const string selector, const CSVValueConverter value) -> ListReturns a converted named column.
column(const integer selector, as_complex | as_matrix type) -> ComplexMatrixReturns a CSV column as a vector-shaped array or matrix.
column(integer selector, const CSVValueConverter value) -> ListReturns a converted column.
column(integer selector, as_string value) -> ListReturns a column converted by a primitive type tag.
column(integer selector, as_complex value) -> ListReturns a column converted by a primitive type tag.
column(integer selector, as_real value) -> ListReturns a column converted by a primitive type tag.
column(integer selector, as_integer value) -> ListReturns a column converted by a primitive type tag.
column(integer selector, as_bool value) -> ListReturns a column converted by a primitive type tag.
column(integer selector) -> ListReturns a column as strings.
column(const integer selector, as_real | as_sparsematrix type) -> RealSparseMatrixReturns a CSV column as a vector-shaped sparse matrix.
column(const integer selector, as_complex | as_sparsematrix type) -> ComplexSparseMatrixReturns a CSV column as a vector-shaped sparse matrix.
column(const string selector, as_complex | as_matrix type) -> ComplexMatrixReturns a CSV column as a vector-shaped array or matrix.
column(const string selector, as_real | as_sparsematrix type) -> RealSparseMatrixReturns a CSV column as a vector-shaped sparse matrix.
column(const string selector, as_complex | as_sparsematrix type) -> ComplexSparseMatrixReturns a CSV column as a vector-shaped sparse matrix.
column(const string selector, as_real | as_tensor type) -> RealTensorReturns a CSV column as a rank-1 tensor.
column(const string selector, as_complex | as_tensor type) -> ComplexTensorReturns a CSV column as a rank-1 tensor.
column(const string selector) -> ListReturns a named column as strings.

column(const string selector, as_complex | as_array type) -> ComplexArray​

Returns a CSV column as a vector-shaped array or matrix.

Parameters​

  • selector: See the overload signature.
  • type: See the overload signature.

column(const integer selector, as_complex | as_array type) -> ComplexArray​

Returns a CSV column as a vector-shaped array or matrix.

Parameters​

  • selector: See the overload signature.
  • type: See the overload signature.

column(const integer selector, as_real | as_array type) -> RealArray​

Returns a CSV column as a vector-shaped array or matrix.

Parameters​

  • selector: See the overload signature.
  • type: See the overload signature.

column(const integer selector, as_integer | as_array type) -> IntegerArray​

Returns a CSV column as a vector-shaped array or matrix.

Parameters​

  • selector: See the overload signature.
  • type: See the overload signature.

column(const integer selector, as_bool | as_array type) -> BoolArray​

Returns a CSV column as a vector-shaped array or matrix.

Parameters​

  • selector: See the overload signature.
  • type: See the overload signature.

column(const string selector, as_real | as_matrix type) -> RealMatrix​

Returns a CSV column as a vector-shaped array or matrix.

Parameters​

  • selector: See the overload signature.
  • type: See the overload signature.

column(const integer selector, as_complex | as_tensor type) -> ComplexTensor​

Returns a CSV column as a rank-1 tensor.

Parameters​

  • selector: See the overload signature.
  • type: See the overload signature.

column(const integer selector, as_real | as_tensor type) -> RealTensor​

Returns a CSV column as a rank-1 tensor.

Parameters​

  • selector: See the overload signature.
  • type: See the overload signature.

column(const integer selector, as_real | as_matrix type) -> RealMatrix​

Returns a CSV column as a vector-shaped array or matrix.

Parameters​

  • selector: See the overload signature.
  • type: See the overload signature.

column(const string selector, as_real | as_array type) -> RealArray​

Returns a CSV column as a vector-shaped array or matrix.

Parameters​

  • selector: See the overload signature.
  • type: See the overload signature.

column(const string selector, as_integer | as_array type) -> IntegerArray​

Returns a CSV column as a vector-shaped array or matrix.

Parameters​

  • selector: See the overload signature.
  • type: See the overload signature.

column(const string selector, as_bool | as_array type) -> BoolArray​

Returns a CSV column as a vector-shaped array or matrix.

Parameters​

  • selector: See the overload signature.
  • type: See the overload signature.

column(const string selector, as_string value) -> List​

Returns a named column converted by a primitive type tag.

Parameters​

  • selector: See the overload signature.
  • value: See the overload signature.

column(const string selector, as_complex value) -> List​

Returns a named column converted by a primitive type tag.

Parameters​

  • selector: See the overload signature.
  • value: See the overload signature.

column(const string selector, as_real value) -> List​

Returns a named column converted by a primitive type tag.

Parameters​

  • selector: See the overload signature.
  • value: See the overload signature.

column(const string selector, as_integer value) -> List​

Returns a named column converted by a primitive type tag.

Parameters​

  • selector: See the overload signature.
  • value: See the overload signature.

column(const string selector, as_bool value) -> List​

Returns a named column converted by a primitive type tag.

Parameters​

  • selector: See the overload signature.
  • value: See the overload signature.

column(const string selector, const CSVValueConverter value) -> List​

Returns a converted named column.

Parameters​

  • selector: See the overload signature.
  • value: See the overload signature.

column(const integer selector, as_complex | as_matrix type) -> ComplexMatrix​

Returns a CSV column as a vector-shaped array or matrix.

Parameters​

  • selector: See the overload signature.
  • type: See the overload signature.

column(integer selector, const CSVValueConverter value) -> List​

Returns a converted column.

Parameters​

  • selector: See the overload signature.
  • value: See the overload signature.

column(integer selector, as_string value) -> List​

Returns a column converted by a primitive type tag.

Parameters​

  • selector: See the overload signature.
  • value: See the overload signature.

column(integer selector, as_complex value) -> List​

Returns a column converted by a primitive type tag.

Parameters​

  • selector: See the overload signature.
  • value: See the overload signature.

column(integer selector, as_real value) -> List​

Returns a column converted by a primitive type tag.

Parameters​

  • selector: See the overload signature.
  • value: See the overload signature.

column(integer selector, as_integer value) -> List​

Returns a column converted by a primitive type tag.

Parameters​

  • selector: See the overload signature.
  • value: See the overload signature.

column(integer selector, as_bool value) -> List​

Returns a column converted by a primitive type tag.

Parameters​

  • selector: See the overload signature.
  • value: See the overload signature.

column(integer selector) -> List​

Returns a column as strings.

Parameters​

  • selector: See the overload signature.

column(const integer selector, as_real | as_sparsematrix type) -> RealSparseMatrix​

Returns a CSV column as a vector-shaped sparse matrix.

Parameters​

  • selector: See the overload signature.
  • type: See the overload signature.

column(const integer selector, as_complex | as_sparsematrix type) -> ComplexSparseMatrix​

Returns a CSV column as a vector-shaped sparse matrix.

Parameters​

  • selector: See the overload signature.
  • type: See the overload signature.

column(const string selector, as_complex | as_matrix type) -> ComplexMatrix​

Returns a CSV column as a vector-shaped array or matrix.

Parameters​

  • selector: See the overload signature.
  • type: See the overload signature.

column(const string selector, as_real | as_sparsematrix type) -> RealSparseMatrix​

Returns a CSV column as a vector-shaped sparse matrix.

Parameters​

  • selector: See the overload signature.
  • type: See the overload signature.

column(const string selector, as_complex | as_sparsematrix type) -> ComplexSparseMatrix​

Returns a CSV column as a vector-shaped sparse matrix.

Parameters​

  • selector: See the overload signature.
  • type: See the overload signature.

column(const string selector, as_real | as_tensor type) -> RealTensor​

Returns a CSV column as a rank-1 tensor.

Parameters​

  • selector: See the overload signature.
  • type: See the overload signature.

column(const string selector, as_complex | as_tensor type) -> ComplexTensor​

Returns a CSV column as a rank-1 tensor.

Parameters​

  • selector: See the overload signature.
  • type: See the overload signature.

column(const string selector) -> List​

Returns a named column as strings.

Parameters​

  • selector: See the overload signature.