Skip to content

Instantly share code, notes, and snippets.

Adam Pah adamrpah

Block or report user

Report or block adamrpah

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keynote2pdf.py
#!/usr/bin/env python
'''
File: keynote2pdf.py
Author: Adam Pah
Description:
Converts a directory of keynote documents to pdfs
Hacky hack hack.
'''
#Standard path imports
@adamrpah
adamrpah / notebook_cleaner.py
Created Mar 22, 2015
Python script to remove output and prompt numbering from a notebook file
View notebook_cleaner.py
#!/usr/bin/env python3
'''
File: notebook_cleaner.py
Author: Adam Pah
Description:
Cleans the output from a notebook
'''
#Standard path imports
from __future__ import division, print_function
@adamrpah
adamrpah / mongoConnect.py
Last active Aug 29, 2015
This is a simple script to handle connecting to a MongoDB collection, along with some neat helper functions
View mongoConnect.py
'''
File: mongoConnect.py
Author: Adam Pah
Description:
Handle the mongo connections
'''
import sys
import random
from pymongo import MongoClient
View kaggle-credit-training-full.csv
We can't make this file beautiful and searchable because it's too large.
,SeriousDlqin2yrs,RevolvingUtilizationOfUnsecuredLines,age,NumberOfTime30-59DaysPastDueNotWorse,DebtRatio,MonthlyIncome,NumberOfOpenCreditLinesAndLoans,NumberOfTimes90DaysLate,NumberRealEstateLoansOrLines,NumberOfTime60-89DaysPastDueNotWorse,NumberOfDependents
1,1,0.766126609,45,2,0.802982129,9120,13,0,6,0,2
2,0,0.957151019,40,0,0.121876201,2600,4,0,0,0,1
3,0,0.65818014,38,1,0.085113375,3042,2,1,0,0,0
4,0,0.233809776,30,0,0.036049682,3300,5,0,0,0,0
5,0,0.9072394,49,1,0.024925695,63588,7,0,1,0,0
6,0,0.213178682,74,0,0.375606969,3500,3,0,1,0,1
7,0,0.305682465,57,0,5710,NA,8,0,3,0,0
8,0,0.754463648,39,0,0.209940017,3500,8,0,0,0,0
View kaggle-credit-test-full.csv
We can't make this file beautiful and searchable because it's too large.
,SeriousDlqin2yrs,RevolvingUtilizationOfUnsecuredLines,age,NumberOfTime30-59DaysPastDueNotWorse,DebtRatio,MonthlyIncome,NumberOfOpenCreditLinesAndLoans,NumberOfTimes90DaysLate,NumberRealEstateLoansOrLines,NumberOfTime60-89DaysPastDueNotWorse,NumberOfDependents
1,,0.88551908,43,0,0.177512717,5700,4,0,0,0,0
2,,0.463295269,57,0,0.527236928,9141,15,0,4,0,2
3,,0.043275036,59,0,0.687647522,5083,12,0,1,0,2
4,,0.280308229,38,1,0.925960637,3200,7,0,2,0,0
5,,0.9999999,27,0,0.019917227,3865,4,0,0,0,1
6,,0.509791452,63,0,0.342429365,4140,4,0,0,0,1
7,,0.587778161,50,0,1048,0,5,0,0,0,3
8,,0.046148938,79,1,0.3691702,3301,8,0,1,0,1
View credit-delinquency-test.csv
We can't make this file beautiful and searchable because it's too large.
,SeriousDlqin2yrs,RevolvingUtilizationOfUnsecuredLines,age,NumberOfTime30-59DaysPastDueNotWorse,DebtRatio,MonthlyIncome,NumberOfOpenCreditLinesAndLoans,NumberOfTimes90DaysLate,NumberRealEstateLoansOrLines,NumberOfTime60-89DaysPastDueNotWorse,NumberOfDependents
1,1,0.766126609,45,2,0.802982129,9120,13,0,6,0,2
2,0,0.957151019,40,0,0.121876201,2600,4,0,0,0,1
3,0,0.65818014,38,1,0.085113375,3042,2,1,0,0,0
4,0,0.233809776,30,0,0.036049682,3300,5,0,0,0,0
5,0,0.9072394,49,1,0.024925695,63588,7,0,1,0,0
6,0,0.213178682,74,0,0.375606969,3500,3,0,1,0,1
7,0,0.305682465,57,0,5710,NA,8,0,3,0,0
8,0,0.754463648,39,0,0.209940017,3500,8,0,0,0,0
View credit-delinquency-test.csv
We can't make this file beautiful and searchable because it's too large.
,SeriousDlqin2yrs,RevolvingUtilizationOfUnsecuredLines,age,NumberOfTime30-59DaysPastDueNotWorse,DebtRatio,MonthlyIncome,NumberOfOpenCreditLinesAndLoans,NumberOfTimes90DaysLate,NumberRealEstateLoansOrLines,NumberOfTime60-89DaysPastDueNotWorse,NumberOfDependents
1,,0.88551908,43,0,0.177512717,5700,4,0,0,0,0
2,,0.463295269,57,0,0.527236928,9141,15,0,4,0,2
3,,0.043275036,59,0,0.687647522,5083,12,0,1,0,2
4,,0.280308229,38,1,0.925960637,3200,7,0,2,0,0
5,,0.9999999,27,0,0.019917227,3865,4,0,0,0,1
6,,0.509791452,63,0,0.342429365,4140,4,0,0,0,1
7,,0.587778161,50,0,1048,0,5,0,0,0,3
8,,0.046148938,79,1,0.3691702,3301,8,0,1,0,1
View credit-delinquency-test.csv
We can't make this file beautiful and searchable because it's too large.
,SeriousDlqin2yrs,RevolvingUtilizationOfUnsecuredLines,age,NumberOfTime30-59DaysPastDueNotWorse,DebtRatio,MonthlyIncome,NumberOfOpenCreditLinesAndLoans,NumberOfTimes90DaysLate,NumberRealEstateLoansOrLines,NumberOfTime60-89DaysPastDueNotWorse,NumberOfDependents
1,,0.88551908,43,0,0.177512717,5700,4,0,0,0,0
2,,0.463295269,57,0,0.527236928,9141,15,0,4,0,2
3,,0.043275036,59,0,0.687647522,5083,12,0,1,0,2
4,,0.280308229,38,1,0.925960637,3200,7,0,2,0,0
5,,0.9999999,27,0,0.019917227,3865,4,0,0,0,1
6,,0.509791452,63,0,0.342429365,4140,4,0,0,0,1
7,,0.587778161,50,0,1048,0,5,0,0,0,3
8,,0.046148938,79,1,0.3691702,3301,8,0,1,0,1
@adamrpah
adamrpah / divvy_trips.json
Created Sep 4, 2014
Divvy trips network in JSON format
View divvy_trips.json
This file has been truncated, but you can view the full file.
You can’t perform that action at this time.