Data Science at the Command Line
Publisher: O'Reilly Media
Final Release Date: June 2014
Pages: 208

With Early Release ebooks, you get books in their earliest form — the author's raw and unedited content as he or she writes — so you can take advantage of these technologies long before the official release of these titles. You'll also receive updates when significant changes are made, new chapters as they're written, and the final ebook bundle

In this practical guide, you’ll learn how to leverage the power of the command line for doing data science. By combining small, yet powerful, command-line tools, you can quickly obtain, scrub, explore, and model your data. Even if you’re already comfortable processing data with R or Python, being able to integrate the command line into your existing workflow will make you a more efficient and productive data scientist.

  • Learn essential concepts and built-in commands of the *nix command line
  • Get started with your own Data Science Toolbox on either Linux, Mac OS X, or Microsoft Windows
  • Use classic command-line tools such as grep, sed, and awk
  • Obtain data from websites, APIs, databases, and spreadsheets
  • Parallelize and distribute data-intensive pipelines to remote machines, including AWS EC2
  • Clean data in CSV, JSON, and XML/HTML formats using csvkit, and jq, and scrape
  • Apply dimensionality reduction, clustering, regression, and classification algorithms
  • Visualize data and results from the command line using gnuplot and ggplot
  • Turn Bash one-liners and existing Python and R code into reusable command-line tools
Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews


by PowerReviews
oreillyData Science at the Command Line

(based on 1 review)

Ratings Distribution

  • 5 Stars



  • 4 Stars



  • 3 Stars



  • 2 Stars



  • 1 Stars



Reviewed by 1 customer

Displaying review 1

Back to top

(7 of 7 customers found this review helpful)


Book on an essential but forgotten skill

By Vijay N Phadke

from Fremont, CA

About Me Developer

Verified Reviewer


  • Easy to understand
  • Helpful examples


  • Work In Progress

Best Uses

  • Expert
  • Intermediate

Comments about oreilly Data Science at the Command Line:

The book subject got my attention as I do quite a bit of data wrangling on command line myself using standard unix commands. I was interested to see if the Author has more interesting stuff to offer.
It's a bit early to say but the book looks good so far and I think the book will improve as it progresses.
Chapter 4 is the best by far and I would love to see Author continuing in the same direction. Section 'Converting One-liners into Shell Scripts' is the case in point because majority of programmers take that path and is quite familiar.
Chapter 2 Getting started is too elaborate with too many screen shots, and can be shortened considerably. The Author can direct the reader to the companion website for more details as the book can quickly get out of sync!

In general this book is recommended even for non data scientists who need to wrangle data in their daily work leveraging the superb linux command line tools!

Displaying review 1

Back to top

Buy 2 Get 1 Free Free Shipping Guarantee
Buying Options
Immediate Access - Go Digital what's this?
Pre-Order  Print: $39.99
September 2014 (est.)