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
""" | |
A little script for summarizing my Interactive Broker statements | |
""" | |
from pandas import * | |
from pandas.util.testing import set_trace as st | |
import numpy as np | |
from BeautifulSoup import BeautifulSoup |
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
from dateutil import parser | |
import subprocess | |
import os | |
import re | |
import sys | |
import numpy as np | |
from pandas import * |
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
from pandas.util.testing import set_trace | |
import pandas.util.testing as tm | |
from pandas import * | |
import ast | |
import inspect | |
import sys | |
def merge(a, b): | |
f, args, _ = parse_stmt(inspect.currentframe().f_back) |
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
I want to give a lightning talk about: pandas (http://pandas.sourceforge.net) | |
I need the projector: yes |
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
svn co https://qwt.svn.sourceforge.net/svnroot/qwt/branches/qwt-5.2 | |
cd qwt-5.2 | |
qmake | |
make | |
sudo make install | |
now you're done with qwt |
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
from pandas import DataFrame | |
from pandas.util.testing import set_trace | |
import os | |
import numpy as np | |
import matplotlib.pyplot as plt | |
dirs = [] | |
names = [] | |
lengths = [] |
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
@cython.boundscheck(False) | |
@cython.wraparound(False) | |
def groupsort_indexer(ndarray[int32_t] index, Py_ssize_t ngroups): | |
cdef: | |
Py_ssize_t i, loc, label, n | |
ndarray[int32_t] counts, where, result | |
# count group sizes, location 0 for NA | |
counts = np.zeros(ngroups + 1, dtype='i4') | |
n = len(index) |
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
# pylint: disable=W0612 | |
import time | |
import pandas as pd | |
import numpy as np | |
import iopro | |
import gc |
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
{ | |
"metadata": { | |
"name": "Basics" | |
}, | |
"nbformat": 2, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ | |
"cell_type": "code", |
OlderNewer