All Bundles
CsvRow
CSV row
Operations
New
Constructor
New(table:CsvTable, id:Int, read_only:Bool, columns:CompareVector<String>)
Parameters
Append
Appends value to the end of the row
method : public : Append(value:String) ~ Nil
Parameters
Name | Type | Description |
---|
value | String | to append |
Average
Calculates the row average
method : public : Average() ~ Float
Return
Type | Description |
---|
Float | row average |
Calculates the row average
method : public : Average(end:Int) ~ Float
Parameters
Name | Type | Description |
---|
end | Int | ending column |
Return
Type | Description |
---|
Float | row average |
Calculates the row average
method : public : Average(start:Int, end:Int) ~ Float
Parameters
Name | Type | Description |
---|
start | Int | starting column |
end | Int | ending column |
Return
Type | Description |
---|
Float | row average |
Get
Gets the indexed row value
method : public : Get(index:Int) ~ String
Parameters
Name | Type | Description |
---|
index | Int | index |
Return
Type | Description |
---|
String | row value |
Gets the indexed row value
method : public : Get(name:String) ~ String
Parameters
Name | Type | Description |
---|
name | String | name |
Return
Type | Description |
---|
String | row value |
Id
Gets the row ID
method : public : Id() ~ Int
Return
Median
Calculates the row median
method : public : Median() ~ Float
Return
Type | Description |
---|
Float | row median |
Set
Sets the indexed row value
method : public : Set(index:Int, value:String) ~ Bool
Parameters
Name | Type | Description |
---|
index | Int | index |
value | String | value to set |
Return
Type | Description |
---|
Bool | true of value was set, false otherwise |
Sets the named row value
method : public : Set(name:String, value:String) ~ Bool
Parameters
Return
Type | Description |
---|
Bool | true of value was set, false otherwise |
Size
Gets the row size
method : public : Size() ~ Int
Return
Type | Description |
---|
Int | row size |
Sum
Calculates the row sum
method : public : Sum() ~ Float
Return
Type | Description |
---|
Float | row sum |
Calculates the row sum
method : public : Sum(end:Int) ~ Float
Parameters
Name | Type | Description |
---|
end | Int | ending column |
Return
Type | Description |
---|
Float | row sum |
Calculates the row sum
method : public : Sum(start:Int, end:Int) ~ Float
Parameters
Name | Type | Description |
---|
start | Int | starting column |
end | Int | ending column |
Return
Type | Description |
---|
Float | row sum |
ToString
Formats the row into a string
method : public : ToString() ~ String
Return
Type | Description |
---|
String | string representation of the row |