Module: DaruLite::DataFrame::SetCategoricalIndexStrategy
- Defined in:
- lib/daru_lite/dataframe.rb
Class Method Summary collapse
Class Method Details
.delete_vector(df, col) ⇒ Object
1523 1524 1525 |
# File 'lib/daru_lite/dataframe.rb', line 1523 def self.delete_vector(df, col) df.delete_vector(col) end |
.new_index(df, col) ⇒ Object
1519 1520 1521 |
# File 'lib/daru_lite/dataframe.rb', line 1519 def self.new_index(df, col) DaruLite::CategoricalIndex.new(df[col].to_a) end |