<% seo %>

bloggy

Posts

bloggy_body

In [6]:
%matplotlib inline
import matplotlib.pyplot as plt

jupyter notebook

Ordered:

  1. item 1
  2. item 2

Unordered:

  • unordered item 1
  • item 2

Python

def func(arg):
    return arg

Haskell

a b c = b + d
    where d = a - c
In [7]:
[a**2 for a in range(20)]
Out[7]:
[0,
 1,
 4,
 9,
 16,
 25,
 36,
 49,
 64,
 81,
 100,
 121,
 144,
 169,
 196,
 225,
 256,
 289,
 324,
 361]
In [8]:
plt.plot([1,2,3,4])
plt.ylabel('some numbers')
plt.show()

It's a snake

title

In [1]:
import pandas as pd
d = {'one' : [1., 2., 3., 4.],
    'two' : [4., 3., 2., 1.],
    'good' :[True, False, False, True]}
 
pd.DataFrame(d, index=['a', 'b', 'c', 'd'])
Out[1]:
good one two
a True 1.0 4.0
b False 2.0 3.0
c False 3.0 2.0
d True 4.0 1.0
In [ ]:
 

subscribe via RSS