David's Blog

The ramblings of a frustated Python Data Scientist ...

Sample Jupyter Notebook to test Plugin


A small Python script

A very small python script that imports the numpy library, creates a simple array, a vector, and then outputs this array.

In [1]:
import numpy as np

simple_vector = np.array([5, 2])
simple_vector
Out[1]:
array([5, 2])

A simple vector in a markdown cell

This is a markdown cell that contains a heading, above, and a maths formula representing a simple vector, below.

$$\vec{vector} = \begin{bmatrix}5\\ 2 \end{bmatrix}$$