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
OnceyouvecometogripswiththecorePythonlanguage,learninghowtobuildPythonapplicatio...
日本首屈一指歐文活版印刷工坊--嘉瑞工房350件世上罕見的歐文字體活版印刷樣本X專業職人萬字詳解理解TYPOGRAPHY精髓及活用訣竅
◆迄今为止最好的互联网思维专著◆作者是国内最早、最深入研究互联网思维的专业人士!◆本书历时三年,条分缕析,深入浅出,字字
《英美学者对中国外交研究的信息源分析》内容简介:“一带一路”战略的推进需要世界各国对中国外交战略信息的充分获取和理解,需要
《马勒别墅的故事》内容简介:马勒别墅坐落于上海市陕西南路30号,1927年修建,1936年竣工,主建筑呈现斯堪的那维亚挪威风格,犹如
《庆历四年秋》内容简介:“庆历四年春”,这是范仲淹千古经典《岳阳楼记》起首句所定格的不朽时间。宋仁宗庆历四年,这段貌似短暂
《基于Selenium WebDriver和Cucumber》内容简介:从目前主流的Web自动化测试工具入手,由浅入深、全面、细致地阐述了如何使用开源测
《丝绸之路:从蓬莱到罗马》内容简介:山东蓬莱是古代海上丝绸之路的一个起点,也是陆上丝绸之路的东部起点;而罗马作为西欧文明的
《软件安全开发指南》内容简介:本书系统性地介绍了OWASP安全组织研究总结的应用安全验证标准,为软件开发过程中的安全控制措施开发
20世紀最卓越的字型設計大師ADRIANFRUTIGER用「喝完湯後,如果你還清楚記得湯匙形狀的話,這支湯匙就是設計不良。」來比喻字型和
《联网力:传统行业互联网化转型的原动力》内容简介:本书主要讲述了互联网浪潮及其带来的新思维与新理念,并归纳总结了新时代下企
《Python爬虫、数据分析与可视化》内容简介:本书根据大多数软件公司对Python数据分析和可视化的需求,面向Python初学者讲述爬虫、
《网络营销实战》内容简介:本书对现有的主要网络营销策略进行了全面梳理,详细解析其使用方法,并对各种营销手法的成败得失及具有
断点-互联网进化启示录 本书特色 一部神经学、生物学与互联网技术大融合的互联网进化史诗巨著。我们正置身网络革命中。互联网的每一丝变化都与你我息息相关。当科技变得...
《中国古代四大发明:源流、外传及世界影响》基于近30年间对考古发掘资料的利用、出土文物的考察和中外文献的考证,系统而深入地研
《吉姆·罗杰斯投资精要》内容简介:吉姆·罗杰斯,量子基金联合创始人,被誉为“富有远见的国际投资家”。他与巴菲特、索罗斯齐名
《瞻奥集:中古中国共同研究班十周年纪念论丛》内容简介:本稿为复旦中古研究班十年纪念论文集。基于共通的治学理念与研究领域,20
计算机审计情景案例 内容简介 计算机审计在我国正处于探索和发展的过程中,审计实践中会遇到各种各样的问题。本书选编了50个计算机审计的典型案例。从数据审计到信息系...
CSS是一种强大而优美的工具,它的潜力远远超过我们的想象。本书中世界级CSS大师EricMeyer讲述了自己极富价值的CSS项目经验,运用
【董龙飞】毕业于北京航空航天大学,自动控制系硕士。为人热诚、执著、正直和幽默。现供职于Adobe系统软件(北京)有限公司,是A