Package src :: Package stats306b :: Package datasets :: Module cities
[hide private]
[frames] | no frames]

Module cities

source code

Three distances recorded on 9 Northern California towns and cities (from http://maps.google.com)

Variables [hide private]
  D = {1: array([[ 0., 24., 138., 93., 63., 61., 63...
  d = [[0.0, 14.3, 118.0, 70.2, 44.1, 44.5, 48.1, 93.6, 162.0], ...
  i = 2
  r = ' 0. '
  row = ['162. ', ' 153. ', ' 44.4', ' 102. ', ' 120. ', ' ...
Variables Details [hide private]

D

Value:
{1: array([[   0.,   24.,  138.,   93.,   63.,   61.,   63.,  105.,  1\
73.],
       [  24.,    0.,  128.,   92.,   61.,   51.,   53.,   95.,  164.]\
,
       [ 138.,  128.,    0.,   65.,   84.,   89.,   80.,   43.,   50.]\
,
       [  93.,   92.,   65.,    0.,   40.,   55.,   50.,   47.,  117.]\
,
...

d

Value:
[[0.0, 14.3, 118.0, 70.2, 44.1, 44.5, 48.1, 93.6, 162.0],
 [14.3, 0.0, 112.0, 74.9, 47.9, 38.1, 41.7, 84.8, 153.0],
 [118.0, 112.0, 0.0, 48.1, 73.4, 75.2, 70.8, 32.2, 44.4],
 [70.2, 74.9, 48.1, 0.0, 31.4, 42.6, 42.1, 40.3, 102.0],
 [44.1, 47.9, 73.4, 31.4, 0.0, 14.1, 12.5, 50.3, 120.0],
 [44.5, 38.1, 75.2, 42.6, 14.1, 0.0, 5.1, 47.5, 118.0],
 [48.1, 41.7, 70.8, 42.1, 12.5, 5.1, 0.0, 43.1, 113.0],
 [93.6, 84.8, 32.2, 40.3, 50.3, 47.5, 43.1, 0.0, 73.2],
...

row

Value:
['162. ',
 '  153. ',
 '   44.4',
 '  102. ',
 '  120. ',
 '  118. ',
 '  113. ',
 '   73.2',
...