def clean_package_data(csv_data):
    """Clean package data preliminarily to initializing package objects."""
    for row in csv_data:
        if row[5] == 'EOD':
            row[5] = None
        row[1] = row[1].replace('South', 'S').replace('North', 'N').replace(
            'East', 'E').replace('West', 'W')
        del row[8:]
