dataframe-ruby:将R的data.frame转换为Ruby

时间:2021-05-05 02:34:35
【文件属性】:
文件名称:dataframe-ruby:将R的data.frame转换为Ruby
文件大小:11KB
文件格式:ZIP
更新时间:2021-05-05 02:34:35
Ruby R Dataframes-对于Ruby! 这个Ruby宝石允许使用风格上类似于R的data.frame的语法轻松地处理类似矩阵的数据。 例子 使用向量索引进行子集化: some_data = 10 . times . map { | x | Hash [ a : rand , b : rand , c : rand ] } some_data = DataFrame [ some_data ] some_data [ some_data . a > 0.5 , nil ] . nrow # 5
【文件预览】:
dataframe-ruby-master
----.gitignore(6B)
----LICENSE(1KB)
----spec()
--------spec_helper.rb(115B)
----README.md(368B)
----lib()
--------data_frame.rb(107B)
--------data_frame()
----Gemfile(39B)
----Rakefile(29B)
----test()
--------test_data_frame.rb(71B)
----dataframe.gemspec(1KB)
----Gemfile.lock(1KB)

网友评论