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)
Syntaxpublic string getColumnForIndexAsMatlabString(
string index,
int column,
string separator,
string surrounder
)
Public Function getColumnForIndexAsMatlabString (
index As String,
column As Integer,
separator As String,
surrounder As String
) As String
public:
String^ getColumnForIndexAsMatlabString(
String^ index,
int column,
String^ separator,
String^ surrounder
)
member getColumnForIndexAsMatlabString :
index : string *
column : int *
separator : string *
surrounder : string -> string
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:
StringString formatted by separator and surrounder representing all the data in the column
ExceptionsException | Condition |
---|
KeyNotFoundException | Thrown if the requested index does not exist in this particular dataframe |
See Also