This hands-on guide demonstrates how the flexibility of the command line can help you become a more efficient and productive data scientist. You’ll learn how to combine small, yet powerful, command-line tools to quickly obtain, scrub, explore, and model your data.
To get you started—whether you’re on Windows, OS X, or Linux—author Jeroen Janssens introduces the Data Science Toolbox, an easy-to-install virtual environment packed with over 80 command-line tools.
Discover why the command line is an agile, scalable, and extensible technology. Even if you’re already comfortable processing data with, say, Python or R, you’ll greatly improve your data science workflow by also leveraging the power of the command line.
●Obtain data from websites, APIs, databases, and spreadsheets
●Perform scrub operations on plain text, CSV, HTML/XML, and JSON
●Explore data, compute descriptive statistics, and create visualizations
●Manage your data science workflow using Drake
●Create reusable tools from one-liners and existing Python or R code
●Parallelize and distribute data-intensive pipelines using GNU Parallel
●Model data with dimensionality reduction, clustering, regression, and classification algorithms
Chapter 1 Introduction
Overview
Data Science Is OSEMN
Intermezzo Chapters
What Is the Command Line?
Why Data Science at the Command Line?
A Real-World Use Case
Further Reading
Chapter 2 Getting Started
Overview
Setting Up Your Data Science Toolbox
Essential Concepts and Tools
Further Reading
Chapter 3 Obtaining Data
Overview
Copying Local Files to the Data Science Toolbox
Decompressing Files
Converting Microsoft Excel Spreadsheets
Querying Relational Databases
Downloading from the Internet
Calling Web APIs
Further Reading
Chapter 4 Creating Reusable Command-Line Tools
Overview
Converting One-Liners into Shell Scripts
Creating Command-Line Tools with Python and R
Further Reading
Chapter 5 Scrubbing Data
Overview
Common Scrub Operations for Plain Text
Working with CSV
Working with HTML/XML and JSON
Common Scrub Operations for CSV
Further Reading
Chapter 6 Managing Your Data Workflow
Overview
Introducing Drake
Installing Drake
Obtain Top Ebooks from Project Gutenberg
Every Workflow Starts with a Single Step
Well, That Depends
Rebuilding Specific Targets
Discussion
Further Reading
Chapter 7 Exploring Data
Overview
Inspecting Data and Its Properties
Computing Descriptive Statistics
Creating Visualizations
Further Reading
Chapter 8 Parallel Pipelines
Overview
Serial Processing
Parallel Processing
Distributed Processing
Discussion
Further Reading
Chapter 9 Modeling Data
Overview
More Wine, Please!
Dimensionality Reduction with Tapkee
Clustering with Weka
Regression with SciKit-Learn Laboratory
Classification with BigML
Further Reading
Chapter 10 Conclusion
Let’s Recap
Three Pieces of Advice
Where to Go from Here?
Getting in Touch
Thisbookprovidesthetheory,practicaldetails,andtoolsnecessaryforbuildingvisualiza...
电商圈第一本自媒体著作《做自己——鬼脚七自媒体第一季》出版以来,深受广大读者喜爱。本书是鬼脚七的第二本书《爱生活——鬼脚
《公共关系的文化想象》内容简介:本书从公共关系研究与文化研究的理论梳理入手,尝试寻找两者的接合点,进而提出公关的三个主要文
《DevOps实施手册》内容简介:本书展示了如何:理解DevOps的要素与能力;应对多级IT环境的挑战;识别出可以与DevOps相互匹配的大型
《故事工坊》内容简介:本书通过工坊式写作课堂,对“讲故事”的技巧、方法、练习进行讲解,涉及虚构与非虚构类型的故事创作。写作
《第一本心理学漫画书:梦的解析》内容简介:《第一本心理学漫画书:梦的解析》系列漫画是根据弗洛伊德最主要的三部著作《梦的解析
本书是C++模板编程的完全指南,旨在通过基本概念、常用技巧和应用实例3方面的有用资料,为读者打下C++模板知识的坚实基础。全书共
《狂人日记(赵延年插图本)》内容简介:本书是一部鲁迅小说选集,收录鲁迅代表性小说十六篇,出自《呐喊》和《彷徨》两部小说集,
《典藏——印象派作品高清图集》内容简介:印象派是西方绘画史上划时代的艺术流派,兴起于法国,在19世纪末达到鼎盛,其影响遍及欧
《3G技术问答》从3G空中接口的四个主流标准(TD-SCDMA、WCDMA、cdma2000和WiMAX)的内容中精选了五百多个问题,以“知识问答”的形
《JavaWeb编程从入门到实践》内容简介:JavaWeb开发是目前最流行的网络开发技术之一。《JavaWeb编程从入门到实践》由浅入深,结合
《Kotlin编程实践》内容简介:本书的重点不仅在于讲解Kotlin的语法与语义,还将展示何时以及为何应该使用某个指定的语言特性。本书
《当用户体验设计遇上敏捷》分为三个部分:第一部分介绍了什么是敏捷。即使读者对敏捷完全了解,仍旧值得读一读这部分内容;第二
《贾伯斯傅》这本贾伯斯生前唯一授权的传记,完整记载他的一生。但这本书谈的不只是贾伯斯。人人都知道贾伯斯不遗余力捍卫隐私,
《设计元素》是一本供学生和设计者学习的参考书。作为一本设计的启蒙读物,它包含了制作各种简单形体及创造复杂方法去解决困难的
Thistextbooktakesaninnovativeapproachtotheteachingofclassicalmechanics,emphasizi...
《儿童时间管理亲子手册》内容简介:《儿童时间管理训练手册》的出版,为困扰中的父母提供抓手。“三表一录”帮助孩子“一立三高”
Web GIS原理与方法 内容简介 本书将全面、系统地论述WebGIS的基本原理、技术方法、*新的理论与发展趋势,以及在我国各个行业的应用实例。书中所涉及各方面...
《传统道德与中华人文精神》内容简介:人性、处世、处己、处人的人生观,义利、公私、理欲、德才的价值观,孝、忠、仁、义、礼、智
《近代安徽族田研究》内容简介:本书对近代安徽族田进行较为系统全面的研究,主要是从清代、民国时期政府族田政策的变迁和族田助学