Helper method for DataTable.fromcsvstring()

    Given a list, parse_column tries to see if it should cast
    everything in that list to a float, an int, or leave it as is.

    Always returns a list.

def parse_column(column):
    """
    Helper method for DataTable.fromcsvstring()

    Given a list, parse_column tries to see if it should cast
    everything in that list to a float, an int, or leave it as is.

    Always returns a list.
    """
    try:
        float_attempt = [float(i) for i in column]
    except ValueError:
        return column
    else:
        try:
            int_attempt = [int(j) for j in column]
        except ValueError:
            return float_attempt
        else:
            return int_attempt