Skip to Content
Learn Python by Building Data Science Applications
book

Learn Python by Building Data Science Applications

by Philipp Kats, David Katz
August 2019
Beginner
482 pages
12h 56m
English
Packt Publishing
Content preview from Learn Python by Building Data Science Applications

Starting with data

It is very easy to incorporate dvc into your workflow. First, we need to install it with pip install dvc. After that, we gradually set it up. You should always start by adding the raw data to dvc. Let's assume data is collected outside of the workflow; we'll just store the files. To do so, perform the following steps:

  1. First, open the Terminal (in VS Code, for example), make sure you're in the right folder—the same place where git was initialized (and therefore the .git folder is located)—and type this:
dvc init
  1. If you succeed, DVC will print out a few links to documentation and offer to commit changes to git. If you type git status, you'll notice a new folder generated, .dvc, with two files in it: .gitignore and config ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python for Data Science

Python for Data Science

Yuli Vasiliev
Introduction to Machine Learning with Python

Introduction to Machine Learning with Python

Andreas C. Müller, Sarah Guido

Publisher Resources

ISBN: 9781789535365Supplemental Content