class Bio::DataFrame
- Bio::DataFrame
- Reference
- Object
Overview
DataFrame class
Represents, i.e., the result of omics experiments, organized features vs observations with same notation that pandas, contaning only numerical data except in the header and/or the index. Data is represented with num.cr tensor for perfomance.
Defined in:
omics/dataframe.crConstructors
-
.new(data = nil, index : Nil | Array(String) = nil, columns : Nil | Array(String) = nil)
Creates a new DataFrame object.
Class Method Summary
Instance Method Summary
- #apply
- #columns : Array(String) | Nil
- #columns=(columns : Array(String) | Nil)
- #corr
- #cov
- #data
- #distance_matrix
- #filter
- #iloc
- #index : Array(String) | Nil
- #index=(index : Array(String) | Nil)
- #loc
- #max
- #mean
- #median
- #min
- #std
- #to_csv
- #to_json
- #transpose
- #var
Constructor Detail
Creates a new DataFrame object.
data argument can be specified as numeric arrays or num.cr tensors. If data argument is not nil, data dimention will be checked against index and columns arguments.