Skip to content

Instantly share code, notes, and snippets.

View heronshoes's full-sized avatar
💭
☕ Uganda, Mt. Elgon, naturally processed

Hirokazu SUZUKI heronshoes

💭
☕ Uganda, Mt. Elgon, naturally processed
View GitHub Profile
# It is show-the-point demo for my article
# "On DataFrame datatype in Ruby" http://zverok.github.io/blog/2016-01-10-dataframe.html
require 'good_data_frame' # `require': cannot load such file -- good_data_frame (LoadError)
# Initialization (with default index): hashes of column: values
# Values of each column are homogenous
# First and most important thing is "what columns is"
table = GDF.new(
manager: ['Tom', 'Jerry', 'Magda'],