Sha256: b5d95c23fb1f6c003bc532cd70e0459bf535d691a95b779c5095c12d90b714c8
Contents?: true
Size: 521 Bytes
Versions: 12
Compression:
Stored size: 521 Bytes
Contents
require_relative 'all_jobs_shared' class CsvFileTargetJob include AllJobsShared using Remi::Refinements::Daru define_target :some_csv_file, Remi::DataTarget::CsvFile, path: "#{Remi::Settings.work_dir}/some_file.csv", csv_options: { col_sep: '|' } define_transform :main do some_csv_file.df = Daru::DataFrame.new({ col3: Faker::Hipster.words(10), col1: Faker::Hipster.words(10), col2: ["uh, \"oh"] + Faker::Hipster.words(9) }, order: [:col3, :col1, :col2]) end end
Version data entries
12 entries across 12 versions & 1 rubygems