Python code
data.csv
 
  0    Duration      60.0
       Pulse        110.0
       Maxpulse     130.0
       Calories     409.1
  1    Duration      60.0
       Pulse        117.0
       Maxpulse     145.0
       Calories     479.0
  2    Duration      60.0
       Pulse        103.0
       Maxpulse     135.0
       Calories     340.0
  3    Duration      45.0
       Pulse        109.0
       Maxpulse     175.0
       Calories     282.4
  4    Duration      45.0
       Pulse        117.0
       Maxpulse     148.0
       Calories     406.0
  5    Duration      60.0
       Pulse        102.0
       Maxpulse     127.0
       Calories     300.5
  6    Duration      60.0
       Pulse        110.0
       Maxpulse     136.0
       Calories     374.0
  7    Duration      45.0
       Pulse        104.0
       Maxpulse     134.0
       Calories     253.3
  8    Duration      30.0
       Pulse        109.0
       Maxpulse     133.0
       Calories     195.1
  9    Duration      60.0
       Pulse         98.0
       Maxpulse     124.0
       Calories     269.0
  10   Duration      60.0
       Pulse        103.0
       Maxpulse     147.0
       Calories     329.3
  11   Duration      60.0
       Pulse        100.0
       Maxpulse     120.0
       Calories     250.7
  12   Duration      60.0
       Pulse        106.0
       Maxpulse     128.0
       Calories     345.3
  13   Duration      60.0
       Pulse        104.0
       Maxpulse     132.0
       Calories     379.3
  14   Duration      60.0
       Pulse         98.0
       Maxpulse     123.0
       Calories     275.0
  15   Duration      60.0
       Pulse         98.0
       Maxpulse     120.0
       Calories     215.2
  16   Duration      60.0
       Pulse        100.0
       Maxpulse     120.0
       Calories     300.0
  17   Duration      45.0
       Pulse         90.0
       Maxpulse     112.0
  18   Duration      60.0
       Pulse        103.0
       Maxpulse     123.0
       Calories     323.0
  19   Duration      45.0
       Pulse         97.0
       Maxpulse     125.0
       Calories     243.0
  20   Duration      60.0
       Pulse        108.0
       Maxpulse     131.0
       Calories     364.2
  21   Duration      45.0
       Pulse        100.0
       Maxpulse     119.0
       Calories     282.0
  22   Duration      60.0
       Pulse        130.0
       Maxpulse     101.0
       Calories     300.0
  23   Duration      45.0
       Pulse        105.0
       Maxpulse     132.0
       Calories     246.0
  24   Duration      60.0
       Pulse        102.0
       Maxpulse     126.0
       Calories     334.5
  25   Duration      60.0
       Pulse        100.0
       Maxpulse     120.0
       Calories     250.0
  26   Duration      60.0
       Pulse         92.0
       Maxpulse     118.0
       Calories     241.0
  27   Duration      60.0
       Pulse        103.0
       Maxpulse     132.0
  28   Duration      60.0
       Pulse        100.0
       Maxpulse     132.0
       Calories     280.0
  29   Duration      60.0
       Pulse        102.0
       Maxpulse     129.0
       Calories     380.3
  30   Duration      60.0
       Pulse         92.0
       Maxpulse     115.0
       Calories     243.0
  31   Duration      45.0
       Pulse         90.0
       Maxpulse     112.0
       Calories     180.1
  32   Duration      60.0
       Pulse        101.0
       Maxpulse     124.0
       Calories     299.0
  33   Duration      60.0
       Pulse         93.0
       Maxpulse     113.0
       Calories     223.0
  34   Duration      60.0
       Pulse        107.0
       Maxpulse     136.0
       Calories     361.0
  35   Duration      60.0
       Pulse        114.0
       Maxpulse     140.0
       Calories     415.0
  36   Duration      60.0
       Pulse        102.0
       Maxpulse     127.0
       Calories     300.5
  37   Duration      60.0
       Pulse        100.0
       Maxpulse     120.0
       Calories     300.1
  38   Duration      60.0
       Pulse        100.0
       Maxpulse     120.0
       Calories     300.0
  39   Duration      45.0
       Pulse        104.0
       Maxpulse     129.0
       Calories     266.0
  40   Duration      45.0
       Pulse         90.0
       Maxpulse     112.0
       Calories     180.1
  41   Duration      60.0
       Pulse         98.0
       Maxpulse     126.0
       Calories     286.0
  42   Duration      60.0
       Pulse        100.0
       Maxpulse     122.0
       Calories     329.4
  43   Duration      60.0
       Pulse        111.0
       Maxpulse     138.0
       Calories     400.0
  44   Duration      60.0
       Pulse        111.0
       Maxpulse     131.0
       Calories     397.0
  45   Duration      60.0
       Pulse         99.0
       Maxpulse     119.0
       Calories     273.0
  46   Duration      60.0
       Pulse        109.0
       Maxpulse     153.0
       Calories     387.6
  47   Duration      45.0
       Pulse        111.0
       Maxpulse     136.0
       Calories     300.0
  48   Duration      45.0
       Pulse        108.0
       Maxpulse     129.0
       Calories     298.0
  49   Duration      60.0
       Pulse        111.0
       Maxpulse     139.0
       Calories     397.6
  50   Duration      60.0
       Pulse        107.0
       Maxpulse     136.0
       Calories     380.2
  51   Duration      80.0
       Pulse        123.0
       Maxpulse     146.0
       Calories     643.1
  52   Duration      60.0
       Pulse        106.0
       Maxpulse     130.0
       Calories     263.0
  53   Duration      60.0
       Pulse        118.0
       Maxpulse     151.0
       Calories     486.0
  54   Duration      30.0
       Pulse        136.0
       Maxpulse     175.0
       Calories     238.0
  55   Duration      60.0
       Pulse        121.0
       Maxpulse     146.0
       Calories     450.7
  56   Duration      60.0
       Pulse        118.0
       Maxpulse     121.0
       Calories     413.0
  57   Duration      45.0
       Pulse        115.0
       Maxpulse     144.0
       Calories     305.0
  58   Duration      20.0
       Pulse        153.0
       Maxpulse     172.0
       Calories     226.4
  59   Duration      45.0
       Pulse        123.0
       Maxpulse     152.0
       Calories     321.0
  60   Duration     210.0
       Pulse        108.0
       Maxpulse     160.0
       Calories    1376.0
  61   Duration     160.0
       Pulse        110.0
       Maxpulse     137.0
       Calories    1034.4
  62   Duration     160.0
       Pulse        109.0
       Maxpulse     135.0
       Calories     853.0
  63   Duration      45.0
       Pulse        118.0
       Maxpulse     141.0
       Calories     341.0
  64   Duration      20.0
       Pulse        110.0
       Maxpulse     130.0
       Calories     131.4
  65   Duration     180.0
       Pulse         90.0
       Maxpulse     130.0
       Calories     800.4
  66   Duration     150.0
       Pulse        105.0
       Maxpulse     135.0
       Calories     873.4
  67   Duration     150.0
       Pulse        107.0
       Maxpulse     130.0
       Calories     816.0
  68   Duration      20.0
       Pulse        106.0
       Maxpulse     136.0
       Calories     110.4
  69   Duration     300.0
       Pulse        108.0
       Maxpulse     143.0
       Calories    1500.2
  70   Duration     150.0
       Pulse         97.0
       Maxpulse     129.0
       Calories    1115.0
  71   Duration      60.0
       Pulse        109.0
       Maxpulse     153.0
       Calories     387.6
  72   Duration      90.0
       Pulse        100.0
       Maxpulse     127.0
       Calories     700.0
  73   Duration     150.0
       Pulse         97.0
       Maxpulse     127.0
       Calories     953.2
  74   Duration      45.0
       Pulse        114.0
       Maxpulse     146.0
       Calories     304.0
  75   Duration      90.0
       Pulse         98.0
       Maxpulse     125.0
       Calories     563.2
  76   Duration      45.0
       Pulse        105.0
       Maxpulse     134.0
       Calories     251.0
  77   Duration      45.0
       Pulse        110.0
       Maxpulse     141.0
       Calories     300.0
  78   Duration     120.0
       Pulse        100.0
       Maxpulse     130.0
       Calories     500.4
  79   Duration     270.0
       Pulse        100.0
       Maxpulse     131.0
       Calories    1729.0
  80   Duration      30.0
       Pulse        159.0
       Maxpulse     182.0
       Calories     319.2
  81   Duration      45.0
       Pulse        149.0
       Maxpulse     169.0
       Calories     344.0
  82   Duration      30.0
       Pulse        103.0
       Maxpulse     139.0
       Calories     151.1
  83   Duration     120.0
       Pulse        100.0
       Maxpulse     130.0
       Calories     500.0
  84   Duration      45.0
       Pulse        100.0
       Maxpulse     120.0
       Calories     225.3
  85   Duration      30.0
       Pulse        151.0
       Maxpulse     170.0
       Calories     300.1
  86   Duration      45.0
       Pulse        102.0
       Maxpulse     136.0
       Calories     234.0
  87   Duration     120.0
       Pulse        100.0
       Maxpulse     157.0
       Calories    1000.1
  88   Duration      45.0
       Pulse        129.0
       Maxpulse     103.0
       Calories     242.0
  89   Duration      20.0
       Pulse         83.0
       Maxpulse     107.0
       Calories      50.3
  90   Duration     180.0
       Pulse        101.0
       Maxpulse     127.0
       Calories     600.1
  91   Duration      45.0
       Pulse        107.0
       Maxpulse     137.0
  92   Duration      30.0
       Pulse         90.0
       Maxpulse     107.0
       Calories     105.3
  93   Duration      15.0
       Pulse         80.0
       Maxpulse     100.0
       Calories      50.5
  94   Duration      20.0
       Pulse        150.0
       Maxpulse     171.0
       Calories     127.4
  95   Duration      20.0
       Pulse        151.0
       Maxpulse     168.0
       Calories     229.4
  96   Duration      30.0
       Pulse         95.0
       Maxpulse     128.0
       Calories     128.2
  97   Duration      25.0
       Pulse        152.0
       Maxpulse     168.0
       Calories     244.2
  98   Duration      30.0
       Pulse        109.0
       Maxpulse     131.0
       Calories     188.2
  99   Duration      90.0
       Pulse         93.0
       Maxpulse     124.0
       Calories     604.1
  100  Duration      20.0
       Pulse         95.0
       Maxpulse     112.0
       Calories      77.7
  101  Duration      90.0
       Pulse         90.0
       Maxpulse     110.0
       Calories     500.0
  102  Duration      90.0
       Pulse         90.0
       Maxpulse     100.0
       Calories     500.0
  103  Duration      90.0
       Pulse         90.0
       Maxpulse     100.0
       Calories     500.4
  104  Duration      30.0
       Pulse         92.0
       Maxpulse     108.0
       Calories      92.7
  105  Duration      30.0
       Pulse         93.0
       Maxpulse     128.0
       Calories     124.0
  106  Duration     180.0
       Pulse         90.0
       Maxpulse     120.0
       Calories     800.3
  107  Duration      30.0
       Pulse         90.0
       Maxpulse     120.0
       Calories      86.2
  108  Duration      90.0
       Pulse         90.0
       Maxpulse     120.0
       Calories     500.3
  109  Duration     210.0
       Pulse        137.0
       Maxpulse     184.0
       Calories    1860.4
  110  Duration      60.0
       Pulse        102.0
       Maxpulse     124.0
       Calories     325.2
  111  Duration      45.0
       Pulse        107.0
       Maxpulse     124.0
       Calories     275.0
  112  Duration      15.0
       Pulse        124.0
       Maxpulse     139.0
       Calories     124.2
  113  Duration      45.0
       Pulse        100.0
       Maxpulse     120.0
       Calories     225.3
  114  Duration      60.0
       Pulse        108.0
       Maxpulse     131.0
       Calories     367.6
  115  Duration      60.0
       Pulse        108.0
       Maxpulse     151.0
       Calories     351.7
  116  Duration      60.0
       Pulse        116.0
       Maxpulse     141.0
       Calories     443.0
  117  Duration      60.0
       Pulse         97.0
       Maxpulse     122.0
       Calories     277.4
  118  Duration      60.0
       Pulse        105.0
       Maxpulse     125.0
  119  Duration      60.0
       Pulse        103.0
       Maxpulse     124.0
       Calories     332.7
  120  Duration      30.0
       Pulse        112.0
       Maxpulse     137.0
       Calories     193.9
  121  Duration      45.0
       Pulse        100.0
       Maxpulse     120.0
       Calories     100.7
  122  Duration      60.0
       Pulse        119.0
       Maxpulse     169.0
       Calories     336.7
  123  Duration      60.0
       Pulse        107.0
       Maxpulse     127.0
       Calories     344.9
  124  Duration      60.0
       Pulse        111.0
       Maxpulse     151.0
       Calories     368.5
  125  Duration      60.0
       Pulse         98.0
       Maxpulse     122.0
       Calories     271.0
  126  Duration      60.0
       Pulse         97.0
       Maxpulse     124.0
       Calories     275.3
  127  Duration      60.0
       Pulse        109.0
       Maxpulse     127.0
       Calories     382.0
  128  Duration      90.0
       Pulse         99.0
       Maxpulse     125.0
       Calories     466.4
  129  Duration      60.0
       Pulse        114.0
       Maxpulse     151.0
       Calories     384.0
  130  Duration      60.0
       Pulse        104.0
       Maxpulse     134.0
       Calories     342.5
  131  Duration      60.0
       Pulse        107.0
       Maxpulse     138.0
       Calories     357.5
  132  Duration      60.0
       Pulse        103.0
       Maxpulse     133.0
       Calories     335.0
  133  Duration      60.0
       Pulse        106.0
       Maxpulse     132.0
       Calories     327.5
  134  Duration      60.0
       Pulse        103.0
       Maxpulse     136.0
       Calories     339.0
  135  Duration      20.0
       Pulse        136.0
       Maxpulse     156.0
       Calories     189.0
  136  Duration      45.0
       Pulse        117.0
       Maxpulse     143.0
       Calories     317.7
  137  Duration      45.0
       Pulse        115.0
       Maxpulse     137.0
       Calories     318.0
  138  Duration      45.0
       Pulse        113.0
       Maxpulse     138.0
       Calories     308.0
  139  Duration      20.0
       Pulse        141.0
       Maxpulse     162.0
       Calories     222.4
  140  Duration      60.0
       Pulse        108.0
       Maxpulse     135.0
       Calories     390.0
  141  Duration      60.0
       Pulse         97.0
       Maxpulse     127.0
  142  Duration      45.0
       Pulse        100.0
       Maxpulse     120.0
       Calories     250.4
  143  Duration      45.0
       Pulse        122.0
       Maxpulse     149.0
       Calories     335.4
  144  Duration      60.0
       Pulse        136.0
       Maxpulse     170.0
       Calories     470.2
  145  Duration      45.0
       Pulse        106.0
       Maxpulse     126.0
       Calories     270.8
  146  Duration      60.0
       Pulse        107.0
       Maxpulse     136.0
       Calories     400.0
  147  Duration      60.0
       Pulse        112.0
       Maxpulse     146.0
       Calories     361.9
  148  Duration      30.0
       Pulse        103.0
       Maxpulse     127.0
       Calories     185.0
  149  Duration      60.0
       Pulse        110.0
       Maxpulse     150.0
       Calories     409.4
  150  Duration      60.0
       Pulse        106.0
       Maxpulse     134.0
       Calories     343.0
  151  Duration      60.0
       Pulse        109.0
       Maxpulse     129.0
       Calories     353.2
  152  Duration      60.0
       Pulse        109.0
       Maxpulse     138.0
       Calories     374.0
  153  Duration      30.0
       Pulse        150.0
       Maxpulse     167.0
       Calories     275.8
  154  Duration      60.0
       Pulse        105.0
       Maxpulse     128.0
       Calories     328.0
  155  Duration      60.0
       Pulse        111.0
       Maxpulse     151.0
       Calories     368.5
  156  Duration      60.0
       Pulse         97.0
       Maxpulse     131.0
       Calories     270.4
  157  Duration      60.0
       Pulse        100.0
       Maxpulse     120.0
       Calories     270.4
  158  Duration      60.0
       Pulse        114.0
       Maxpulse     150.0
       Calories     382.8
  159  Duration      30.0
       Pulse         80.0
       Maxpulse     120.0
       Calories     240.9
  160  Duration      30.0
       Pulse         85.0
       Maxpulse     120.0
       Calories     250.4
  161  Duration      45.0
       Pulse         90.0
       Maxpulse     130.0
       Calories     260.4
  162  Duration      45.0
       Pulse         95.0
       Maxpulse     130.0
       Calories     270.0
  163  Duration      45.0
       Pulse        100.0
       Maxpulse     140.0
       Calories     280.9
  164  Duration      60.0
       Pulse        105.0
       Maxpulse     140.0
       Calories     290.8
  165  Duration      60.0
       Pulse        110.0
       Maxpulse     145.0
       Calories     300.4
  166  Duration      60.0
       Pulse        115.0
       Maxpulse     145.0
       Calories     310.2
  167  Duration      75.0
       Pulse        120.0
       Maxpulse     150.0
       Calories     320.4
  168  Duration      75.0
       Pulse        125.0
       Maxpulse     150.0
       Calories     330.4