R language liked dataframe object
DataFrame
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| delete | 1 | removes a column field from current dataframe object by a given field name |
| add | 4 | add a new feature column into current dataframe object |
| row | 1 | get row by index |
| foreachRow | 2 | iterates through all data rows inside current dataframe object |
| slice | 1 | slice the dataframe row by a collection of the given row names labels |
| Union | 1 | current dataframe object append the additional data to right side and then create a new dataframe |
| ToString | 1 | |
| read_csv | 2 | |
| read_arff | 1 | |
| write_arff | 1 | |
| GetDimension | 1 | |
| GenericEnumerator | 1 | |
| FromRows | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| features | 1 | the dataframe columns |
| name | 1 | the name of current dataset |
| description | 1 | the comment text about this dataset |
| rownames | 1 | get the row names labels in current dataframe object, the size of this row names vector should be equals to the number of rows in current dataframe object. |
| dims | 1 | the dimension size of current dataframe object, with data axis dimension mapping of: 1. |
| featureNames | 1 | the column field names |
| nsamples | 1 | the n rows of the matrix |
| nfeatures | 1 | get the number of the feature columns inside current dataframe object |
| Item | 2 | make dataframe column fields projection |
| featureSet | 1 |
04 Members
String)removes a column field from current dataframe object by a given field name
| Name | Type | Description |
|---|---|---|
featureName | String | - |
String, IEnumerable(Of Double))add a new feature column into current dataframe object
| Name | Type | Description |
|---|---|---|
featureName | String | - |
v | IEnumerable(Of Double) | a data field column data in double numeric type |
String, IEnumerable(Of Single))add a new feature column into current dataframe object
| Name | Type | Description |
|---|---|---|
featureName | String | - |
v | IEnumerable(Of Single) | a data field column data in double numeric type |
String, IEnumerable(Of Int32))add a new feature column into current dataframe object
| Name | Type | Description |
|---|---|---|
featureName | String | - |
v | IEnumerable(Of Int32) | a data field column data in integer type |
add a new feature column into current dataframe object
| Name | Type | Description |
|---|---|---|
feature | FeatureVector | - |
Int32)get row by index
| Name | Type | Description |
|---|---|---|
i | Int32 | - |
A row data without row names
iterates through all data rows inside current dataframe object
IEnumerable(Of String))slice the dataframe row by a collection of the given row names labels
this function could be used for make dataframe rows re-order by rownames
| Name | Type | Description |
|---|---|---|
rownames | IEnumerable(Of String) | - |
current dataframe object append the additional data to right side and then create a new dataframe
| Name | Type | Description |
|---|---|---|
append | DataFrame | - |
the dataframe columns
the name of current dataset
the comment text about this dataset
get the row names labels in current dataframe object, the size of this row names vector should be equals to the number of rows in current dataframe object.
the dimension size of current dataframe object, with data axis dimension mapping of:
- width: feature size, column size
- height: sample size, row size
the column field names
the n rows of the matrix
get the number of the feature columns inside current dataframe object
String)get a column field from dataframe by given feature column name
| Name | Type | Description |
|---|---|---|
featureName | String | - |
IEnumerable(Of String))make dataframe column fields projection
| Name | Type | Description |
|---|---|---|
cols | IEnumerable(Of String) | - |
a subset of the dataframe value with fields projection
Func(Of NamedCollection(Of Object), NamedCollection(Of T)))String, Char, Boolean, Encodings)String)Stream)Stream, Char, Boolean, Encodings, Boolean)String)IEnumerable(Of NamedCollection(Of T)), IEnumerable(Of String))