def put_gps_lat(row):
    """
    Format latitude as a float.

    :param row: a data frame row
    :type row: pandas.Series
    :returns: processed value.

    """
    if row['lat'] == 0 and row['long'] == 0:
        row['long'] = 0
    else:
        row['lat'] = row['lat'] / 100000.0
    return row['lat']
