Skip to content

twgophers/data-science-from-scratch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

code for Data Science From Scratch book

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.4%
  • Python 18.7%
  • HTML 2.7%
  • CSS 1.4%
  • Go 0.8%