Sha256: ff6cd4cda3301371633844fbfc1fe2390b35447b5eb9477225c4db977ae231f3
Contents?: true
Size: 605 Bytes
Versions: 12
Compression:
Stored size: 605 Bytes
Contents
require_relative '../all_jobs_shared' class TruthyJob include AllJobsShared define_source :source_data, Remi::DataSource::DataFrame, fields: { :truthy => {} } define_target :target_data, Remi::DataTarget::DataFrame define_transform :main, sources: :source_data, targets: :target_data do Remi::SourceToTargetMap.apply(source_data.df, target_data.df) do map source(:truthy) .target(:allow_nils) .transform(Remi::Transform::Truthy.new(allow_nils: true)) map source(:truthy) .target(:no_nils) .transform(Remi::Transform::Truthy.new) end end end
Version data entries
12 entries across 12 versions & 1 rubygems