1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| l = [ ["Arthritis", "Asthma", "Back problems", "Cancer (malignant neoplasms)", "Chronic obstructive pulmonary disease", "Diabetes mellitus", "Heart, stroke and vascular disease", "Kidney disease", "Mental and behavioural conditions", "Osteoporosis"], ["15-44", "45-64", "65+"] ] v = 1000*np.array([ [ 360.2, 1489.0, 1772.2], [1069.7, 741.9, 433.7], [1469.6, 1513.3, 955.3], [ 28.1, 162.7, 237.5], [ 103.8, 207.0, 251.9], [ 135.4, 427.3, 607.7], [ 94.0, 344.4, 716.0], [ 29.6, 67.7, 123.3], [2218.9, 1390.6, 725.0], [ 36.1, 312.3, 564.7], ]).astype(int) marek.print_labelled_array(l, v)
|