Skip to content

Instantly share code, notes, and snippets.

View jason-curtis's full-sized avatar

Jason Curtis jason-curtis

View GitHub Profile
# couple things I'd throw in there:
# moar whitespace
res = [
[
[
kriger.predict(x,y,z)
for x in grid[0]
]
for y in grid[1]
]
@jason-curtis
jason-curtis / gist:3dfaa704e9da5bd08e44
Last active August 29, 2015 14:06
trash talk colorize function
from components.cards import Color
from components.style import redify, blueify
trash_talked = set()
def _trash_talk(color, *messages):
colorize = redify if color == Color.red else blueify
full_message = ' '.join(map(str, messages))
if full_message in trash_talked:
return
@jason-curtis
jason-curtis / Statsmodels Issue 987 - formula support in wls_prediction_std.ipynb
Last active August 29, 2015 13:58
Statsmodels Issue 987 - formula support in wls_prediction_std (2)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.