Click or drag to resize

DataFramegetColumnForIndexAsMatlabString Method

For a specified index, returns all the values in one column as a string. Column values can be separated by the separator string. For a column with the values 1 2 and 3, we can format them to return as: '1','2','3' (by passing , for separator and ' for a surrounder) or "1"|"2"|"3" (by passing | for separator and " for surrounder)

Namespace:  Kratos_3.Network
Assembly:  Kratos_3 (in Kratos_3.dll) Version: 3.6.2.0 (3.6.2.0)
Syntax
public string getColumnForIndexAsMatlabString(
	string index,
	int column,
	string separator,
	string surrounder
)

Parameters

index
Type: SystemString
Desired index value
column
Type: SystemInt32
Desired column
separator
Type: SystemString
String to put between each value of the column
surrounder
Type: SystemString
String to put before and after each value of the column

Return Value

Type: String
String formatted by separator and surrounder representing all the data in the column
Exceptions
ExceptionCondition
KeyNotFoundExceptionThrown if the requested index does not exist in this particular dataframe
See Also