<commit_before>"""
Name: <NAME>
Date: 12/11/16
Class: Introduction to Python
Assignment: Final Project

Description:
Code for Final Project
"""

import pandas
from datetime import datetime

# Connect to file.
data = pandas.read_csv("data/Residential_Water_Usage_Zip_Code_on_Top.csv")

# print(data.ix[datetime(2012, 8, 19)])

# Remove Date Values column
data = data.drop(["Date Value"], axis=1)
print(data)

# Determine what values are missing
# empty = data.apply(lambda col: pandas.isnull(col))<commit_msg>Placed code in main and clean functions.<commit_after>"""
Name: <NAME>
Date: 12/11/16
Class: Introduction to Python
Assignment: Final Project

Description:
Code for Final Project
"""

import pandas
from datetime import datetime


def clean(data):
    """
    Take in data and return cleaned version.
    """
    # Remove Date Values column
    data = data.drop(["Date Value"], axis=1)

    # Determine what values are missing
    # empty = data.apply(lambda col: pandas.isnull(col))


def main():
    """

    """
    # Connect to file.
    data = pandas.read_csv("data/Residential_Water_Usage_Zip_Code_on_Top.csv")

    clean(data)


if __name__ == '__main__':
    main()
{'fraction_non_alphanumeric': 0.11779661016949153, 'fraction_numerical': 0.017796610169491526, 'mean_word_length': 4.202643171806168, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5003188', 'n_tokens_mistral': 396, 'n_tokens_neox': 365, 'n_words': 115}