Sha256: 5000f5a22fda6e9f8c9839ed468c242ef48ee2dbe90dfabc74e19fd89e5ece55
Contents?: true
Size: 240 Bytes
Versions: 7
Compression:
Stored size: 240 Bytes
Contents
module JupyterOnRails module Daru module DataFrameExt def write_model(model) require 'activerecord-import' objs = map_rows(&:to_h).map(&model.method(:new)) model.import(objs) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems