Articles


Dates Causality, Workflows and States: All Of This Has Happened Before And Will Happen Again.


How to solve SSL errors on pip install

Was trying to install alembic in a virtualenv with pip , on an OS X El Capitan machine: 1$ pip install alembic 2Collecting alembic 3(...) Ended up with the following traceback: Traceback (most recent call last): File "/Users/kev/venvs/test/lib/python2.7/site-packages/pip/basecommand.py", line 211 …
➟ Read more

Pandas snippets

Import Numpy and Pandas: >>> import numpy as np >>> import pandas as pd Create a 5 rows and 3 columns frame with random integers between 0 and 99: >>> df = pd.DataFrame(np.random.randint(100, size=(5, 3))) >>> df 0 1 2 0 35 66 14 1 30 3 13 2 …
➟ Read more