Skip to content

Instantly share code, notes, and snippets.

@marcomayer
marcomayer / array.py
Created October 21, 2015 15:44
numpy array
np.array([[0,0.1,0.1,0.2,0,0.1,0.1,0.2],
[0,0.4,0.4,0.4,0,0.1,0.1,0.2],
[0,0.4,0.7,0.4,0,0.1,0.1,0.2],
[0,0.3,0.4,0.4,0,0.1,0.1,0.2],
[0,0.1,0.1,0.2,0,1,0.9,0.2],
[0,0.1,0.1,0.2,0,0.2,0.2,0.2],
[0,0.1,0.1,0.2,0,0.1,0.1,0.2]])
This works **fine**:
| Tables | Are | Cool |
| ------------- |:-------------:| -----:|
| col 3 is | right-aligned | $1600 |
| zebra stripes | are neat | 100|
But adding a $ to the 100 screws up the table, **why**:
| Tables | Are | Cool |