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
""" | |
predictions.py | |
Author: Thomas W. Yoo | |
Generates predictions based on given data. | |
Started 4/7/2014 | |
v0.1: Initial commit. Generates the rows with the two closest dates to aid in average calculation | |
v0.2: Generates the average sale amount for the two dates as a prediction. | |
v0.3: For holidays, figures out what the expected amount should be and how much was the actual sales. | |
v0.4: For holidays, predicts the sales amount based on sales behavior the last year. |
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
Enter the department to graph or all: 5 | |
5 | |
Enter the store to graph or all: all | |
all | |
Store: all | |
Rows gotten | |
dept gotten | |
date gotten | |
sale gotten |
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
Enter the department to graph or all: all | |
all | |
Enter the store to graph or all: all | |
all | |
Store: all | |
Rows gotten | |
dept gotten | |
date gotten | |
sale gotten |
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
""" | |
scatterplots.py | |
Author: Thomas W. Yoo | |
Uses matplotlib to create scatterplots based on the department. | |
Started 4/7/2014 | |
v0.1: Initial commit. Had only the first mode of operation. | |
v0.2: Second large commit. Has three modes of operation now. | |
v0.3: Added flags for holiday sales | |
v0.4: Added capability for graphing based on temperature, gas price, CPI, and unemployment rate. |
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
""" | |
primetest.py | |
Author: Thomas W. Yoo | |
Start Date: 3/31/2014 | |
This program prompts the user for an integer and declares whether or not it is a prime number. | |
""" | |
# bisect_left to help see if a number is in a list. Used in isPrime. | |
from bisect import bisect_left as bsl |
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
""" | |
DupeRemover.py | |
@author: Thomas W. Yoo | |
Start date: 7/30/2013 | |
This program will go through the CRM customer file and remove all duplicate entries. | |
Algorithm description: | |
Names: | |
> If same address, append to file for manual review |
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
""" | |
CompileFileData.py | |
@author: Thomas W. Yoo | |
Start Date: 6/18/2013 | |
This program will create a table entry for a given file. | |
Filepath, Filesize, LastModified, Filetype, and Searchable Info. | |
""" | |
import os |
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
""" | |
CreateDicts.py | |
@author: Thomas W. Yoo | |
Start date: 6/18/2013 | |
This program will take in an Excel spreadsheet and output an array of the words. | |
Except: the, a, an, but, of | |
""" | |
from xlrd 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
""" | |
wordcount.py | |
author: Thomas W. Yoo | |
date: 3/10/2014 | |
This program takes a file and a word as input parameters and returns a count. | |
""" | |
import sys |