(u\'142578\', (u\'The-North-side-9890\', (u\' 12457896\', 45.0))) (u\'124578\', (u\'The-West-side-9091\', (u\' 14578217\', 0.0)))
This i got fr
to get from this:
(u'142578', (u'The-North-side-9890', (u' 12457896', 45.0)))
to this:
The-North-side-9890,12457896,45.0
you need to use:
result = result.map(lambda (k, (s, (n1, n2))): ','.join([s, str(int(n1)), str(float(n2))]))