This file contains 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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
background: #fcfcfa; | |
} | |
.stroke { | |
fill: none; |
This file contains 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
##Tool to turn all of the values of a JSON object into | |
##an easy-to-read list | |
##with Path(key),Value | |
##some of the subject matter discussed pertains with my company and may not seem relevant | |
import itertools | |
import csv, xlrd, codecs, xlwt | |
import json |
This file contains 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
## calculate the probability of winning a series, | |
## given p(winning single game) and current score | |
## Granger Huntress | |
## based on Jeff Sackmann's gameProb code | |
## (https://gist.github.com/JeffSackmann/768862) | |
def fact(x): | |
if x in [0, 1]: return 1 |