Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 906 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 906 Bytes

Data Science from Scratch — Go ports

This repository contains examples from the book Data Science from Scratch ported from Python 3 to Go.

Running the original Python code

Install miniconda for Python ≥ 3.5, then create and activate an environment with the matplotlib package installed:

$ conda create --name DS_Scratch matplotlib
$ source activate DS_Scratch
(DS_Scratch) $

If the conda environment is successfully activated, the name of the environment (DS_Scratch) will be prefixed to the shell prompt, as shown above.

For chapter 3, Visualizing Data, the only required package is matplotlib. You can run the first example of chapter 3 like this:

(DS_Scratch) $ cd 03_Visualizing_Data/
(DS_Scratch) $ python 1_simple_line.py