Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
country continent year lifeExp pop gdpPercap
Afghanistan Asia 1952 28.801 8425333 779.4453145
Afghanistan Asia 1957 30.332 9240934 820.8530296
Afghanistan Asia 1962 31.997 10267083 853.10071
Afghanistan Asia 1967 34.02 11537966 836.1971382
Afghanistan Asia 1972 36.088 13079460 739.9811058
Afghanistan Asia 1977 38.438 14880372 786.11336
Afghanistan Asia 1982 39.854 12881816 978.0114388
Afghanistan Asia 1987 40.822 13867957 852.3959448
Afghanistan Asia 1992 41.674 16317921 649.3413952
@ianepreston
ianepreston / statsmodels_dev.yml
Last active November 18, 2019 15:24
conda env to develop statsmodels
name: statsmodels_dev
channels:
- conda-forge
dependencies:
- python=3.7
- Cython
- scipy
- patsy
- pandas
- matplotlib
@ianepreston
ianepreston / ab_holidays.py
Created January 15, 2019 21:35
Pandas holiday calendar for Alberta
# -*- coding: utf-8 -*-
"""
Define holidays
"""
from pandas.tseries.holiday import (
AbstractHolidayCalendar, DateOffset, EasterMonday, GoodFriday, Holiday, MO,
next_monday, next_monday_or_tuesday
)