Method: Remi::DataSubject#fields

Defined in:
lib/remi/data_subject.rb

#fieldsObject

Fields is a hash where the keys are the data field names and the values are a hash of metadata. DataFrames do not currently support metadata, so the metdata will be empty unless overridden by the specific target.



18
19
20
21
22
23
# File 'lib/remi/data_subject.rb', line 18

def fields
  df.vectors.to_a.reduce({}) do |h, v|
    h[v] = {}
    h
  end
end