Markdown Cheat Sheet

Headlines
# Headline 1
## Headline 2
### Headline 3

Styling
*italic*
**bold**
~~strike through~~

Links
http://url.com
[link text](http://www.url.com)

Quotes
> Quote text
***Johnny Author***

Images
![image alt text](image url)
***Image caption, description***

Horizontal rule
---

Inline Code
`var name = "John Doe";`

Code block with syntax highlighting
``` codelanguage
function foo() {
  return bar;
}
```

Bulleted list
- item 1
- item 2
- item 3

Numbered list
1. item 1
2. item 2
3. item 3

Research first before converting the masses

How to Get Started With Jupyter Notebook on Mac

Have a notebook with the extension .ipynb? Here is how to open that on Mac OS X.

The file name should look like this:
my-awesome-data-and-graphs.ipynb

First, install Anaconda Navigator for Mac OS X, claimed to be “The World’s Most Popular Python/R Data Science Platform”. I think self-promotion is funny. (https://www.anaconda.com/distribution/)

Install the correct version for the Python version you will use.
- I installed the Python 3 version, but you can install the Python 2 version if you’d like.

After you install Anacoda, open the program, find the Jupyter Lab box, and click the launch button. It should open a browser tab, looking something like http://localhost:8888/lab.

Next, we need to find your ipynb file you’re trying to open. I found it easiest to navigate to my Downloads folder and double click the file, but you might need to go to File > Open From Path > (enter the path to your file in the textbox).

Once it’s opened, you might see some errors saying you need to install some extensions.

Click the paintbrush button on the left, as shown below on the left panel:

Alt Text

Use the New Console button to open a console, using the “Kernal” from your brand new opened ipynb file.

You can then type the commands you need to run in the console:

If you want to install a missing package, such as numpy you can enter the following:

import sys
!{sys.executable} -m pip install numpy

You will need to press the key combination Shift + Enter to run it, but you should see the output very quickly.

Hope this helps!


Book Review: Signal and the Noise by Nate Silver (of FiveThirtyEight.com)

Successes and failures of prediction - How to use data and prediction in an increasingly complex world

Why You Shouldn't Give a Giftcard as a Gift