import numpy
import utm
import pandas
from convertbng.util import convert_lonlat

def lats(easting, northing):
    (longitudes, latitudes) = convert_lonlat(easting, northing);
    return latitudes;

def lons(easting, northing):
    (longitudes, latitudes) = convert_lonlat(easting, northing);
    return longitudes;

data = pandas.read_csv('casualty_points.csv');
data['longitude'] = lons(data['Easting'], data['Northing']);
data['latitude']  = lats(data['Easting'], data['Northing']);

print(data)

data.to_csv('casualty_points_lonlat.csv', columns=('longitude', 'latitude'),
        index=False)

75468d81e09d1f7b3948e59e22f343802861f184
<mask token>


def lats(easting, northing):
    longitudes, latitudes = convert_lonlat(easting, northing)
    return latitudes


def lons(easting, northing):
    longitudes, latitudes = convert_lonlat(easting, northing)
    return longitudes


<mask token>

<mask token>


def lats(easting, northing):
    longitudes, latitudes = convert_lonlat(easting, northing)
    return latitudes


def lons(easting, northing):
    longitudes, latitudes = convert_lonlat(easting, northing)
    return longitudes


<mask token>
print(data)
data.to_csv('casualty_points_lonlat.csv', columns=('longitude', 'latitude'),
    index=False)

<mask token>


def lats(easting, northing):
    longitudes, latitudes = convert_lonlat(easting, northing)
    return latitudes


def lons(easting, northing):
    longitudes, latitudes = convert_lonlat(easting, northing)
    return longitudes


data = pandas.read_csv('casualty_points.csv')
data['longitude'] = lons(data['Easting'], data['Northing'])
data['latitude'] = lats(data['Easting'], data['Northing'])
print(data)
data.to_csv('casualty_points_lonlat.csv', columns=('longitude', 'latitude'),
    index=False)

import numpy
import utm
import pandas
from convertbng.util import convert_lonlat


def lats(easting, northing):
    longitudes, latitudes = convert_lonlat(easting, northing)
    return latitudes


def lons(easting, northing):
    longitudes, latitudes = convert_lonlat(easting, northing)
    return longitudes


data = pandas.read_csv('casualty_points.csv')
data['longitude'] = lons(data['Easting'], data['Northing'])
data['latitude'] = lats(data['Easting'], data['Northing'])
print(data)
data.to_csv('casualty_points_lonlat.csv', columns=('longitude', 'latitude'),
    index=False)

import numpy
import utm
import pandas
from convertbng.util import convert_lonlat

def lats(easting, northing):
    (longitudes, latitudes) = convert_lonlat(easting, northing);
    return latitudes;

def lons(easting, northing):
    (longitudes, latitudes) = convert_lonlat(easting, northing);
    return longitudes;

data = pandas.read_csv('casualty_points.csv');
data['longitude'] = lons(data['Easting'], data['Northing']);
data['latitude']  = lats(data['Easting'], data['Northing']);

print(data)

data.to_csv('casualty_points_lonlat.csv', columns=('longitude', 'latitude'),
        index=False)
