arbox
data-science-with-ruby
Ruby

Practical Data Science with Ruby based tools.

Last updated Jul 7, 2026
722
Stars
51
Forks
1
Issues
0
Stars/day
Attention Score
73
Language breakdown
Ruby 100.0%
Files click to expand
README

[RubyNLP | RubyML | RubyInterop]

Awesome Data Science with Ruby Awesome

Links and Resources for Data Processing and Analysis in Ruby

Data Science is a new "sexy" buzzword without specific meaning but often used to substitute Statistics, Scientific Computing, Text and Data Mining and Visualization, Machine Learning, Data Processing and Warehousing as well as Retrieval Algorithms of any kind.

This curated list comprises [awesome][awesome] tutorials, libraries, information sources about various Data Science applications using the [Ruby programming language][ruby].

A lot of useful resources on this list come from the development by [The Ruby Science Foundation][sciruby], our [contributors][contributors] and our own day to day work on various data intensive applications. Read why this list is awesome.

:sparkles: Every contribution is welcome! Add links through pull requests or create an issue to start a discussion.

Follow us on Twitter and please spread the word using the #RubyDataScience hash tag!

Contents

* General formats * Database Adapters * Domain specific formats

Ruby vs. Python vs. Julia vs. R

| Ruby | Python | Julia | R | | --- | --- | --- | --- | | Daru / Rover | Pandas | | | | NArray | NumPy | | |

Standing on the shoulders of giants

Ruby is (for now) not a Data Science centric language with a very large established library. Leveraging libraries from R, Python, and Julia helps Ruby to solve your tasks!

Ruby connector for Rserve, R's binary server.

Data Manipulation

lightweight Ruby ETL (Extract-Transform-Load) framework. Workflow manager using DAG definitions to execute ETL tasks.

Distributed Computing

Ruby Interface to Apache Spark 1.x.x. JRuby based bindings for Apache Spark.

Data Structures

Data Frame and Vector structures with comprehensive manipulating and visualization methods. Data Frame and Vector structures with comprehensive manipulating and visualization methods. n-dimensional Numerical Array for Ruby. dense and sparse linear algebra library for Ruby via SciRuby. blazingly fast native 2d k-d tree. Array structure for JRuby. manipulation library for MS Excel spreadsheets. Ruby based NetworkX clone that handles various usecases of the Graph Data Structure. CUDA-aware numerical Array library with NArray similar interface.

Data sets

Data sets available in R via Rdatasets. Growing collection of publicly available data sets such as CIFAR-10, Iris, MNIST etc.

Statistics

Ruby interface to the GNU Scientific Library. [dep: GLS] Enumerable patches for descriptive statistics. fast implementation of descriptive statistics for the Enumerable module. basic and advanced statistics for Ruby. [dep: GLS] extension of statsample by Generalized Linear Models. extension of statsample by Bivariate Correlations. extension of statsample by Time Series estimators. Principal Component Analysis (PCA) in Ruby. descriptive extensions for the Enumerable module or standalone usage. probabilistic distributions and descriptive measures for them. Normal, Chi-square, t- and F- probability distributions for Ruby. fast computation of descriptive statistics (min, max, mean, median, 1st and 3rd quartiles, population standard deviation) for a multivariate dataset.

Numeric and Symbolic Computation

linear algebraic operations for NArray. Math and Statistics for NArray using GSL.[dep: GSL] Symbolic Computation with SymEngine. Fast Fourier Transformation for NArray using the FFTE package.[FFTE]

Visualization

Comprehensive tools for Data Visualization.

Ruby based wrapper around matplotlib. [dep: matplotlib] PNG and MathML renderings for your equations. daru-view is interactive plotting gem for web application (any Ruby web application framework like Rails/Sinatra/Nanoc/Hanami) & IRuby notebook. It is a plugin gem for daru. Plotly based visualization for Daru. Vega and Vega-lite based visualization for Rover. graphing library built on top of rmagick. graphing library built on top of GR. [dep: Graphviz] [dep: gnuplot]
  • https://github.com/zuhao/plotrb
  • https://github.com/brasten/scruffy
  • https://github.com/zverok/worldize
  • https://github.com/masa16/ruby-mathgl
  • numo-gnuplot
gnuplot interface for the Numo package. Create beautiful JavaScript charts with one line of Ruby. Use chartkick within IRuby-backed jupyter notebooks Ruby interface to GR, a framework for visualisation applications. [dep: GR]

Interactive Computing

Ruby kernel for Jupyter. Integration library for IRuby and Rails. Another integration library for IRuby and Rails.

Input and Output

General formats

  • https://github.com/fiksu/rcsv
  • ox
Optimized for speed XML parser and object marshaller. High-speed JSON parser.
  • Markdown
  • Nokogiri
  • CSV

Database Adapters

  • pg
  • Mongo
  • MySQL

Domain specific formats

conversion tool for citation formats like BibTeX, RIS, or Crossref XML.

Provisioning Infrastructure

  • https://github.com/mrkn/gpu-instance
  • https://github.com/mrkn/computing_node
  • https://github.com/k1LoW/awspec

Machine Learning

Please look at our extensive [Awesome ML with Ruby][ml-with-ruby] list.

Articles, Posts, Talks, and Presentations

  • 2019
- Parallelising ETL workflows with the Jongleur gem by Fred Heath [post]
  • 2018
  • 2017
- Progress of Ruby-Numo: Numerical Computing for Ruby by Masahiro Tanaka [slides] - Chartkick: data visualization made easy with Ruby by Govind Unnikrishnan [post] - Development of Data Science Ecosystem for Ruby by Kenta Murata [slides | video | page]
  • 2016
- Scientific Computation and Data Visualization with Ruby by Sameer Deshmukh [slides | video]
  • 2015
  • 2014
  • 2013
- Seeing the Big Picture: Quick and Dirty Data Visualization with Ruby by Aja Hammerly [video | slides | code]
  • 2012
  • 2011
  • 2010
- NArray and scientific computing with Ruby by Masahiro Tanaka [video | slides]

Community

  • https://gitter.im/red-data-tools/en
  • https://gitter.im/red-data-tools/ja
  • http://ruby-data.org/
  • https://twitter.com/RubyData
  • https://discourse.ruby-data.org/

Related resources

ImageMagick
GSL
FFTE
SymEngine awesome curated list on all around Big Data. awesome list on Apache Spark goodies.

Wait but why?

There are a lot of software lists with tools related to the Data Science. There are a couple of lists with Ruby related projects. There are no lists of only working and tested software with documented scope. We'll try to make one!

What is awesome? Awesome are documented, maintained and focused tools.

Can something turn not awesome at a point? Yes! Abandoned projects with broken dependencies aren't awesome any more! They leave this list.

License

Creative Commons Zero 1.0 Awesome Data Science with Ruby by Andrei Beliankou and [Contributors][contributors].

To the extent possible under law, the person who associated CC0 with Awesome Data Science with Ruby has waived all copyright and related or neighboring rights to Awesome Data Science with Ruby.

You should have received a copy of the CC0 legalcode along with this work. If not, see .

[ruby]: https://www.ruby-lang.org/en/ [ml-with-ruby]: https://github.com/arbox/machine-learning-with-ruby [awesome]: https://github.com/sindresorhus/awesome/blob/master/awesome.md [change-pr]: https://github.com/RichardLitt/knowledge/blob/master/github/amending-a-commit-guide.md [sciruby]: https://github.com/sciruby [contributors]: https://github.com/arbox/data-science-with-ruby/graphs/contributors

🔗 More in this category

© 2026 GitRepoTrend · arbox/data-science-with-ruby · Updated daily from GitHub