This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Toms-MacBook-Pro:pandas tom$ git checkout ujson-update | |
| Branch ujson-update set up to track remote branch ujson-update from origin. | |
| Switched to a new branch 'ujson-update' | |
| Toms-MacBook-Pro:pandas tom$ python setup.py build_ext --inplace | |
| running build_ext | |
| cythoning pandas/index.pyx to pandas/index.c | |
| building 'pandas.index' extension | |
| creating build | |
| creating build/temp.macosx-10.8-x86_64-2.7 | |
| creating build/temp.macosx-10.8-x86_64-2.7/pandas |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (vanilla)Toms-MacBook-Pro:python2.7 tom$ python -c "import statsmodels as s; s.test('full')" | |
| Running unit tests for statsmodels | |
| NumPy version 1.7.1 | |
| NumPy is installed in /Users/tom/vanilla/lib/python2.7/site-packages/numpy | |
| Python version 2.7.3 (default, Feb 10 2013, 17:17:55) [GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.24)] | |
| nose version 1.3.0 | |
| /Users/tom/vanilla/lib/python2.7/site-packages/statsmodels-0.5.0-py2.7-macosx-10.8-x86_64.egg/statsmodels/tsa/vector_ar/var_model.py:339: FutureWarning: The names argument is deprecated and will be removed in the next release. | |
| "removed in the next release.", FutureWarning) | |
| .........................................................................................................................S.....S.......................................................................S..................................................................................................................................................................................................... |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import argparse | |
| from datetime import datetime, timedelta | |
| import json | |
| from pprint import pprint | |
| import os | |
| import sys | |
| import arrow | |
| import requests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (pandas-dev)dhcp80fff527:pandas(master) tom$ python setup.py install | |
| running install | |
| running bdist_egg | |
| running egg_info | |
| writing requirements to pandas.egg-info/requires.txt | |
| writing pandas.egg-info/PKG-INFO | |
| writing top-level names to pandas.egg-info/top_level.txt | |
| writing dependency_links to pandas.egg-info/dependency_links.txt | |
| reading manifest file 'pandas.egg-info/SOURCES.txt' | |
| reading manifest template 'MANIFEST.in' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def sane_names(df): | |
| names = _gen_items() | |
| if isinstance(df, pd.Panel): | |
| return df.rename(items=names, minor_axis=names) | |
| return df.rename(columns=names) | |
| def get_useful(df, strict=True): | |
| df = sane_names(df) | |
| # TODO: grab cols from convert_names.keys() | |
| # or both from a common function. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import re | |
| import sys | |
| import subprocess | |
| import pathlib | |
| class Parser(object): | |
| def __init__(self, path, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import pandas as pd | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| from matplotlib import collections as collections | |
| from matplotlib.patches import Rectangle | |
| from itertools import izip, cycle | |
| def missmap(df, ax=None, colors=None, aspect=4, sort='descending', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.