In [78]:
from pandas import *
import pandas
pandas.__version__
import matplotlib.pyplot as plt
%matplotlib inline
import seaborn as sns
In [79]:
import pandas as pd
In [6]:
# cleaned version from 11-6-14
#Res_Energy_Consumption_1949_2012 = read_csv('MER_T02_02-10-27-2014 _v1.csv')
Res_Energy_Consumption_1949_2012 = read_csv('MER_T02_02-11-6-2014 _v1.csv')
# http://www.eia.gov/totalenergy/data/annual/#consumption
# 2.1B Residential Sector Energy Consumption Estimates, 1949– 2012
In [7]:
Res_Energy_Consumption_1949_2012.head(10)
Out[7]:
MSN
YYYYMM
Value
Column_Order
Description
Unit
YYYY
MM
0
CLRCBUS
194913
1271.551
1
Coal Consumed by the Residential Sector
Trillion Btu
1949
13
1
CLRCBUS
195013
1261.267
1
Coal Consumed by the Residential Sector
Trillion Btu
1950
13
2
CLRCBUS
195113
1158.679
1
Coal Consumed by the Residential Sector
Trillion Btu
1951
13
3
CLRCBUS
195213
1079.206
1
Coal Consumed by the Residential Sector
Trillion Btu
1952
13
4
CLRCBUS
195313
965.664
1
Coal Consumed by the Residential Sector
Trillion Btu
1953
13
5
CLRCBUS
195413
858.255
1
Coal Consumed by the Residential Sector
Trillion Btu
1954
13
6
CLRCBUS
195513
867.431
1
Coal Consumed by the Residential Sector
Trillion Btu
1955
13
7
CLRCBUS
195613
838.910
1
Coal Consumed by the Residential Sector
Trillion Btu
1956
13
8
CLRCBUS
195713
653.734
1
Coal Consumed by the Residential Sector
Trillion Btu
1957
13
9
CLRCBUS
195813
663.496
1
Coal Consumed by the Residential Sector
Trillion Btu
1958
13
In [8]:
#http://stackoverflow.com/questions/893417/item-frequency-count-in-python
##from collections import Counter
##words = "apple banana apple strawberry banana lemon"
##freqs = Counter(words.split())
##print(freqs)
#Counter({'apple': 2, 'banana': 2, 'strawberry': 1, 'lemon': 1})
In [9]:
#http://stackoverflow.com/questions/893417/item-frequency-count-in-python
##from collections import Counter
#freqs = Counter(Res_Energy_Consumption_1949_2012.Value.split())
##freqs = Counter(Res_Energy_Consumption_1949_2012.Value)
#freqs = Counter(Value.split())
##print(freqs)
#Counter({.......})
#works
# sorted.
In [10]:
#Valuetest = Res_Energy_Consumption_1949_2012.Value
#Valuetest.count('Not Available')
# Does not work.
In [11]:
words = 'the quick brown fox jumps over the lazy gray dog'
words.count('z')
#output: 1
Out[11]:
1
In [12]:
Res_Energy_Consumption_1949_2012.tail(10)
Out[12]:
MSN
YYYYMM
Value
Column_Order
Description
Unit
YYYY
MM
6746
TERCBUS
201310
1368.665
12
Total Energy Consumed by the Residential Sector
Trillion Btu
2013
10
6747
TERCBUS
201311
1712.673
12
Total Energy Consumed by the Residential Sector
Trillion Btu
2013
11
6748
TERCBUS
201312
2402.746
12
Total Energy Consumed by the Residential Sector
Trillion Btu
2013
12
6749
TERCBUS
201313
21286.839
12
Total Energy Consumed by the Residential Sector
Trillion Btu
2013
13
6750
TERCBUS
201401
2773.735
12
Total Energy Consumed by the Residential Sector
Trillion Btu
2014
1
6751
TERCBUS
201402
2330.009
12
Total Energy Consumed by the Residential Sector
Trillion Btu
2014
2
6752
TERCBUS
201403
2063.318
12
Total Energy Consumed by the Residential Sector
Trillion Btu
2014
3
6753
TERCBUS
201404
1425.137
12
Total Energy Consumed by the Residential Sector
Trillion Btu
2014
4
6754
TERCBUS
201405
1346.358
12
Total Energy Consumed by the Residential Sector
Trillion Btu
2014
5
6755
TERCBUS
201406
1501.449
12
Total Energy Consumed by the Residential Sector
Trillion Btu
2014
6
In [13]:
print round(-1123.456789, -1)
#1120.0
-1120.0
In [14]:
# http://localhost:8888/notebooks/laptop-repos/Pandas_TestFiles/PandasTour.ipynb
#Res_Energy_Consumption_1949_2012.fillna(0)
In [15]:
# http://learnpythonthehardway.org/book/ex30.html
# if cars > people:
# print "We should take the cars."
#elif cars < people:
# print "We should not take the cars."
#else:
# print "We can't decide."
##if Res_Energy_Consumption_1949_2012.Value > 5:
## print "Not Available."
##else:
## print Res_Energy_Consumption_1949_2012.Value
#Valuetest = Res_Energy_Consumption_1949_2012.Value
#Valuetest.count('Not Available')
# Does not work.
In [16]:
#valuetest = Res_Energy_Consumption_1949_2012.Value
#http://pandas.pydata.org/pandas-docs/stable/cookbook.html#cookbook-missing-data
Revised= Res_Energy_Consumption_1949_2012.Value.replace({'Value': "Not Available"}, "NaN")
In [23]:
print Revised
0 1271.551
1 1261.267
2 1158.679
3 1079.206
4 965.664
5 858.255
6 867.431
7 838.910
8 653.734
9 663.496
10 573.321
11 585.284
12 533.611
13 520.794
14 438.442
...
6741 1341.095
6742 1504.229
6743 1748.855
6744 1674.095
6745 1468.586
6746 1368.665
6747 1712.673
6748 2402.746
6749 21286.839
6750 2773.735
6751 2330.009
6752 2063.318
6753 1425.137
6754 1346.358
6755 1501.449
Name: Value, Length: 6756, dtype: float64
In [24]:
Revised.dtype
Out[24]:
dtype('float64')
In [18]:
#http://stackoverflow.com/questions/893417/item-frequency-count-in-python
from collections import Counter
#freqs = Counter(Res_Energy_Consumption_1949_2012.Value.split())
freqs = Counter(Revised)
#freqs = Counter(Value.split())
print(freqs)
Counter({82.384: 28, 78.137: 21, 32.274000000000001: 21, 3.363: 17, 49.259999999999998: 17, 79.725999999999999: 16, 83.013999999999996: 15, 77.076999999999998: 14, 31.506: 14, 35.573999999999998: 14, 71.995000000000005: 14, 46.013999999999996: 14, 72.191999999999993: 14, 61.836999999999996: 14, 36.521000000000001: 14, 83.004999999999995: 14, 52.814999999999998: 14, 40.794000000000004: 14, 44.163999999999994: 14, 73.890000000000001: 14, 30.074000000000002: 14, 85.781000000000006: 14, 36.131: 14, 75.616: 12, 31.233000000000001: 12, 0.54200000000000004: 11, 4.8210000000000006: 11, 47.671000000000006: 10, 3.2549999999999999: 10, 0.72799999999999998: 9, 29.103999999999999: 8, 34.426000000000002: 8, 59.841999999999999: 8, 71.507000000000005: 8, 42.740000000000002: 8, 69.863: 8, 0.42499999999999999: 8, 69.671999999999997: 8, 51.111000000000004: 8, 5.3399999999999999: 8, 0.501: 8, 80.328000000000003: 8, 35.341999999999999: 8, 30.489000000000001: 8, 0.59299999999999997: 8, 74.590000000000003: 8, 34.965000000000003: 8, 39.478000000000002: 8, 44.530000000000001: 8, 7.5650000000000004: 7, 0.57799999999999996: 7, 4.8019999999999996: 7, 13.030999999999999: 7, 43.451999999999998: 7, 52.816000000000003: 7, 50.183999999999997: 7, 0.65400000000000003: 7, 38.219000000000001: 7, 37.369999999999997: 7, 40.734000000000002: 7, 9.6890000000000001: 7, 4.9820000000000002: 7, 2.786: 7, 0.56100000000000005: 7, 4.8780000000000001: 7, 59.792999999999999: 7, 5.4299999999999997: 7, 0.46700000000000003: 7, 3.125: 7, 54.207999999999998: 7, 39.808999999999997: 7, 57.186999999999998: 7, 39.185000000000002: 7, 33.123000000000005: 7, 39.213000000000001: 7, 50.048999999999999: 7, 48.841999999999999: 7, 5.9120000000000008: 7, 4.7219999999999995: 7, 34.726999999999997: 7, 5.3849999999999998: 7, 33.972999999999999: 7, 18.597999999999999: 7, 35.670999999999999: 7, 54.696999999999996: 7, 71.221999999999994: 7, 1.554: 7, 38.012: 7, 5.4550000000000001: 7, 6.7970000000000006: 7, 4.9210000000000003: 7, 45.738: 7, 42.466000000000001: 7, 4.8719999999999999: 7, 5.3579999999999997: 7, 0.72199999999999998: 7, 1.1859999999999999: 7, 31.425000000000001: 7, 38.358000000000004: 7, 52.496000000000002: 7, 1.3500000000000001: 7, 39.878999999999998: 7, 46.711999999999996: 7, 5.2060000000000004: 7, 5.4670000000000005: 7, 42.792000000000002: 7, 41.431000000000004: 7, 50.18: 7, 0.86699999999999999: 7, 15.769: 7, 37.209000000000003: 7, 5.0430000000000001: 7, 2.2359999999999998: 7, 5.1289999999999996: 7, 0.52700000000000002: 7, 5.5079999999999991: 7, 51.808: 7, 42.623999999999995: 7, 1.1040000000000001: 7, 0.80299999999999994: 7, 1.8680000000000001: 7, 0.63700000000000001: 7, 54.450000000000003: 7, 51.838000000000001: 7, 4.4530000000000003: 7, 54.613: 7, 3.3539999999999996: 7, 5.3300000000000001: 5, 34.521000000000001: 5, 45.204999999999998: 5, 1.3069999999999999: 5, 5.7210000000000001: 4, 37.920999999999999: 4, 36.786000000000001: 4, 4.7149999999999999: 4, 0.83900000000000008: 4, 44.262: 4, 38.591999999999999: 4, 40.094999999999999: 4, 37.119999999999997: 4, 74.411000000000001: 4, 4.5700000000000003: 4, 33.606999999999999: 4, 850.0: 4, 970.0: 4, 51.111999999999995: 4, 4.9630000000000001: 4, 41.096000000000004: 4, 50.802: 4, 38.524999999999999: 4, 50.137: 4, 5.29: 4, 55.341999999999999: 4, 36.009: 4, 32.876999999999995: 4, 47.266000000000005: 4, 36.985999999999997: 4, 68.923999999999992: 4, 50.166000000000004: 4, 4.6470000000000002: 4, 30.410999999999998: 4, 52.851000000000006: 4, 0.70499999999999996: 4, 12.609999999999999: 4, 37.948: 4, 17.998000000000001: 4, 7.3210000000000006: 4, 2.1640000000000001: 4, 0.45200000000000001: 4, 0.52500000000000002: 4, 57.863999999999997: 4, 6.5779999999999994: 4, 9.3759999999999994: 4, 39.420000000000002: 4, 2.6960000000000002: 4, 0.57399999999999995: 4, 41.411999999999999: 4, 52.933: 4, 5.2110000000000003: 4, 0.48499999999999999: 4, 5.0380000000000003: 4, 0.61599999999999999: 4, 36.164000000000001: 4, 15.26: 4, 5.1849999999999996: 4, 80.335999999999999: 4, 52.693000000000005: 4, 1.1479999999999999: 4, 4.3090000000000002: 4, 1.504: 4, 1.8080000000000001: 4, 0.69900000000000007: 4, 4.7199999999999998: 4, 3.0249999999999999: 4, 1.0680000000000001: 4, 48.433999999999997: 4, 0.41100000000000003: 4, 0.55899999999999994: 4, 52.458999999999996: 4, 0.51000000000000001: 4, 5.1679999999999993: 4, 48.561000000000007: 4, 4.7619999999999996: 4, 42.049999999999997: 4, 0.63300000000000001: 4, 41.248999999999995: 4, 5.2539999999999996: 4, 48.564999999999998: 4, 4.8810000000000002: 4, 32.055: 4, 5.2789999999999999: 4, 0.77700000000000002: 4, 4.6660000000000004: 4, 3.2460000000000004: 4, 380.0: 3, 420.0: 3, 39.600000000000001: 3, 21.388000000000002: 3, 29.151: 3, 920.0: 3, 3.0380000000000003: 3, 74.012: 3, 44.493000000000002: 3, 70.575000000000003: 3, 958.21199999999999: 2, 775.06600000000003: 2, 560.08400000000006: 2, 430.0: 2, 1005.529: 2, 580.0: 2, 425.40800000000002: 2, 910.0: 2, 980.0: 2, 72.103999999999999: 2, 65.204999999999998: 2, 799.74800000000005: 2, 1.5800000000000001: 2, 0.61899999999999999: 2, 381.87400000000002: 2, 2.4609999999999999: 2, 32.985999999999997: 2, 621.84900000000005: 2, 541.78300000000002: 2, 433.97300000000001: 2, 2.6549999999999998: 2, 425.51099999999997: 2, 481.63400000000001: 2, 1.6769999999999998: 2, 646.92599999999993: 2, 27.164000000000001: 2, 77.478999999999999: 2, 0.94299999999999995: 2, 1.857: 2, 831.947: 2, 899.16399999999999: 2, 2.7400000000000002: 2, 33.279000000000003: 2, 0.45000000000000001: 2, 47.703000000000003: 2, 586.86400000000003: 2, 1.6669999999999998: 2, 55.851999999999997: 2, 1.075: 2, 1055.1860000000001: 2, 32.634: 2, 468.14999999999998: 2, 38.161999999999999: 2, 688.447: 2, 499.05800000000005: 2, 738.70600000000002: 2, 28.456999999999997: 2, 870.0: 2, 536.96699999999998: 2, 1.109: 2, 71.623999999999995: 2, 67.349999999999994: 2, 0.52200000000000002: 2, 0.74900000000000011: 2, 66.739999999999995: 2, 1010.0: 2, 701.81200000000001: 2, 0.65500000000000003: 2, 415.05300000000005: 2, 39.890000000000001: 2, 127.62299999999999: 2, 507.29400000000004: 2, 379.77600000000001: 2, 77.650000000000006: 2, 400.77699999999999: 2, 20.698: 2, 454.97399999999999: 2, 520.0: 2, 370.952: 2, 626.63: 2, 354.096: 2, 320.41800000000001: 2, 0.6409999999999999: 2, 1.7749999999999999: 2, 728.07600000000002: 2, 41.561000000000007: 2, 2.375: 1, 0.625: 1, 1130.9080000000001: 1, 350.36400000000003: 1, nan: 1, 5.0: 1, nan: 1, 291.26499999999999: 1, 8.0: 1, 489.154: 1, 324.67900000000003: 1, 13.0: 1, 14.0: 1, nan: 1, 3.6319999999999997: 1, nan: 1, 0.78299999999999992: 1, nan: 1, 388.70800000000003: 1, 4405.1559999999999: 1, 135.03200000000001: 1, 1.329: 1, 238.929: 1, 261.22399999999999: 1, 316.02199999999999: 1, nan: 1, 456.03699999999998: 1, 302.34500000000003: 1, 1687.2550000000001: 1, 492.89499999999998: 1, 2.9580000000000002: 1, 613.03899999999999: 1, 7.0: 1, 251.75099999999998: 1, 7711.3599999999997: 1, nan: 1, 270.19799999999998: 1, 281.48099999999999: 1, 300.41500000000002: 1, 3.5760000000000001: 1, 2.1869999999999998: 1, 401.21300000000002: 1, 204.93799999999999: 1, 2613.0389999999998: 1, 649.48699999999997: 1, nan: 1, 3557.0149999999999: 1, 0.93099999999999994: 1, 857.93700000000001: 1, nan: 1, 1056.2839999999999: 1, 1071.191: 1, 2570.712: 1, nan: 1, 238.77099999999999: 1, 929.29999999999995: 1, 357.99000000000001: 1, 147.334: 1, 1283.742: 1, nan: 1, 607.84100000000001: 1, 910.875: 1, 3.0069999999999997: 1, 2747.7790000000005: 1, 1052.1880000000001: 1, 232.80599999999998: 1, 1243.279: 1, 323.34800000000001: 1, 1510.4079999999999: 1, nan: 1, 6345.4989999999998: 1, 6775.6099999999997: 1, 66.84899999999999: 1, 235.167: 1, 349.40300000000002: 1, 215.12900000000002: 1, 36.020000000000003: 1, 272.72800000000001: 1, 361.41800000000001: 1, 6650.835: 1, 8.5239999999999991: 1, 662.75199999999995: 1, nan: 1, 22.0: 1, 1388.1229999999998: 1, 136.0: 1, 448.05099999999999: 1, 274.685: 1, 164.96200000000002: 1, 301.084: 1, 302.60900000000004: 1, 857.84699999999998: 1, 1010.0839999999999: 1, 335.89300000000003: 1, 105.684: 1, 157.035: 1, 30.629999999999999: 1, nan: 1, 578.73000000000002: 1, 239.99700000000001: 1, 1567.816: 1, nan: 1, 940.72800000000007: 1, 875.44600000000003: 1, 651.12300000000005: 1, 0.68200000000000005: 1, 628.173: 1, 5010.0609999999997: 1, nan: 1, 1294.481: 1, 162.566: 1, 178.0: 1, 196.94099999999997: 1, 120.895: 1, 79.555999999999997: 1, 203.554: 1, nan: 1, 1501.4489999999998: 1, nan: 1, 101.361: 1, 841.404: 1, 1863.4479999999999: 1, nan: 1, 439.97399999999999: 1, 2052.123: 1, 150.26400000000001: 1, 3.4950000000000001: 1, 687.39300000000003: 1, 674.90899999999999: 1, 651.93799999999999: 1, 9690.7129999999997: 1, 35.417999999999999: 1, 126.551: 1, 1483.5229999999999: 1, 181.27900000000002: 1, 19970.898000000001: 1, 436.95499999999998: 1, 107.04000000000001: 1, 1630.1229999999998: 1, 45.691000000000003: 1, 316.63200000000001: 1, 174.602: 1, 6184.2130000000006: 1, nan: 1, 365.27800000000002: 1, 157.56: 1, 144.28899999999999: 1, 212.80900000000003: 1, 404.22199999999998: 1, 216.13200000000001: 1, 0.996: 1, 1502.7560000000001: 1, 190.09400000000002: 1, 312.49000000000001: 1, 3014.5419999999999: 1, 229.34099999999998: 1, 1.131: 1, 304.94400000000002: 1, 798.3660000000001: 1, 6086.991: 1, nan: 1, nan: 1, 193.965: 1, 224.90200000000002: 1, 576.85400000000004: 1, 7129.1419999999998: 1, 315.68200000000002: 1, 1.3149999999999999: 1, 267.41300000000001: 1, 737.94399999999996: 1, 365.01400000000001: 1, 1596.7370000000001: 1, 994.96399999999994: 1, 157.06799999999998: 1, 1905.085: 1, 915.28699999999992: 1, 774.44600000000003: 1, nan: 1, 431.35599999999999: 1, 7662.7250000000004: 1, 402.673: 1, 2800.3270000000002: 1, 762.029: 1, 1798.8489999999999: 1, 241.833: 1, 1213.98: 1, 647.03499999999997: 1, 37.313000000000002: 1, 951.55100000000004: 1, 266.02299999999997: 1, 0.57499999999999996: 1, nan: 1, 2.4319999999999999: 1, 869.36199999999997: 1, 4.9400000000000004: 1, 1849.9189999999999: 1, 249.322: 1, nan: 1, 956.29100000000005: 1, nan: 1, 147.666: 1, 1.5680000000000001: 1, 352.49199999999996: 1, 0.64400000000000002: 1, 5.3010000000000002: 1, nan: 1, 542.70800000000008: 1, 758.45500000000004: 1, 675.50600000000009: 1, 1036.742: 1, 945.26600000000008: 1, 134.70099999999999: 1, 6923.3739999999998: 1, 331.13800000000003: 1, 118.604: 1, 2.2130000000000001: 1, 4.7589999999999995: 1, 4735.0829999999996: 1, nan: 1, 783.404: 1, 1.577: 1, 597.54999999999995: 1, 19.317999999999998: 1, 631.40800000000002: 1, nan: 1, nan: 1, 232.13499999999999: 1, 2478.7719999999999: 1, nan: 1, nan: 1, nan: 1, 332.52600000000001: 1, 484.15199999999999: 1, nan: 1, 292.55099999999999: 1, 154.33799999999999: 1, 953.68499999999995: 1, 278.94999999999999: 1, 692.78399999999999: 1, 390.0: 1, 254.32599999999999: 1, nan: 1, nan: 1, 965.66399999999999: 1, 0.45299999999999996: 1, 209.93000000000001: 1, 400.0: 1, 499.01999999999998: 1, nan: 1, 877.72699999999998: 1, 1125.1589999999999: 1, 84.724999999999994: 1, 722.75399999999991: 1, 410.0: 1, 1748.855: 1, 786.60199999999998: 1, nan: 1, 658.31200000000001: 1, 166.262: 1, 1924.5510000000002: 1, nan: 1, 364.28699999999998: 1, 14246.200000000001: 1, 217.87400000000002: 1, nan: 1, 670.84300000000007: 1, 52.426000000000002: 1, 114.68000000000001: 1, 3693.5300000000002: 1, 1.349: 1, 440.0: 1, 389.608: 1, 2.6699999999999999: 1, nan: 1, 2568.8119999999999: 1, 42.786999999999999: 1, 185.24000000000001: 1, nan: 1, 93.331000000000003: 1, 329.47800000000001: 1, 101.345: 1, nan: 1, 169.47099999999998: 1, 1576.9520000000002: 1, 243.042: 1, 2354.9570000000003: 1, 103.40899999999999: 1, 470.0: 1, 203.995: 1, 312.346: 1, nan: 1, nan: 1, 887.80999999999995: 1, nan: 1, 121.14299999999999: 1, 776.90100000000007: 1, 93.98299999999999: 1, nan: 1, 167.71400000000003: 1, 114.29799999999999: 1, 154.797: 1, 167.15099999999998: 1, 826.41399999999999: 1, 222.82900000000001: 1, 6188.7460000000001: 1, 243.02700000000002: 1, 1686.8440000000001: 1, 425.88900000000001: 1, 500.0: 1, 97.260000000000005: 1, 270.29300000000001: 1, 527.10699999999997: 1, 1102.3389999999999: 1, 128.499: 1, 497.19: 1, nan: 1, 677.09500000000003: 1, 2688.3059999999996: 1, 915.81299999999999: 1, 290.48099999999999: 1, 239.86000000000001: 1, 416.32300000000004: 1, 1.401: 1, 344.07300000000004: 1, 414.07199999999995: 1, 234.95400000000001: 1, 458.80400000000003: 1, 792.40999999999997: 1, 420.73400000000004: 1, nan: 1, 3.9489999999999998: 1, 493.50999999999999: 1, 974.93799999999999: 1, nan: 1, 267.34899999999999: 1, 540.0: 1, 153.565: 1, 8225.3080000000009: 1, 358.54599999999999: 1, 425.29199999999997: 1, 595.51300000000003: 1, 938.71500000000003: 1, 146.67500000000001: 1, 1187.1800000000001: 1, 550.0: 1, 2.0310000000000001: 1, 765.72699999999998: 1, 4.2649999999999997: 1, 1125.7139999999999: 1, 547.10800000000006: 1, nan: 1, 469.541: 1, 435.01499999999999: 1, 3.2210000000000001: 1, 3.2599999999999998: 1, 5.8810000000000002: 1, 1163.8679999999999: 1, 487.33800000000002: 1, 99.186000000000007: 1, 109.31: 1, nan: 1, 193.458: 1, 21626.077000000001: 1, 5571.0659999999998: 1, 826.8839999999999: 1, 6380.1930000000002: 1, nan: 1, 4660.558: 1, 5.9639999999999995: 1, 103.76000000000001: 1, 91.527000000000001: 1, 362.60500000000002: 1, 4637.683: 1, nan: 1, nan: 1, 867.63100000000009: 1, 1678.5510000000002: 1, 94.262999999999991: 1, 519.923: 1, 6594.3040000000001: 1, 528.721: 1, 488.67500000000001: 1, 610.0: 1, 225.06799999999998: 1, 6936.3230000000003: 1, 72.744: 1, 583.16300000000001: 1, 221.12700000000001: 1, 15.9: 1, nan: 1, 4.8639999999999999: 1, 471.00800000000004: 1, 437.95300000000003: 1, 680.52699999999993: 1, nan: 1, 245.32299999999998: 1, 1180.761: 1, 1454.854: 1, 123.961: 1, 9196.889000000001: 1, 1507.395: 1, 17.451000000000001: 1, 388.81900000000002: 1, nan: 1, 640.0: 1, 8427.4509999999991: 1, 559.54099999999994: 1, 247.05000000000001: 1, 281.10700000000003: 1, 828.44600000000003: 1, nan: 1, 463.49400000000003: 1, 30.02: 1, 340.81: 1, 116.678: 1, 3.1379999999999999: 1, 1709.3800000000001: 1, nan: 1, 297.59199999999998: 1, 1005.6410000000001: 1, 685.92899999999997: 1, 40.466999999999999: 1, nan: 1, 927.52499999999998: 1, 77.542000000000002: 1, nan: 1, 1087.877: 1, 1226.25: 1, nan: 1, 2239.681: 1, 1736.6670000000001: 1, 4946.3540000000003: 1, 527.79599999999994: 1, 105.85700000000001: 1, 1186.4059999999999: 1, 1021.627: 1, nan: 1, 0.64000000000000001: 1, 978.05899999999997: 1, 343.34399999999999: 1, 1539.9349999999999: 1, 4889.018: 1, 98.313999999999993: 1, 936.12399999999991: 1, 899.93100000000004: 1, 993.654: 1, 570.452: 1, 390.65499999999997: 1, 1.371: 1, nan: 1, nan: 1, 75.787999999999997: 1, 12.247: 1, 370.21199999999999: 1, 688.22500000000002: 1, 239.09999999999999: 1, 277.73700000000002: 1, 0.65599999999999992: 1, 260.21199999999999: 1, 269.01999999999998: 1, 161.93000000000001: 1, 131.28399999999999: 1, 303.07999999999998: 1, 386.68099999999998: 1, 204.96000000000001: 1, 2.1259999999999999: 1, 1341.095: 1, nan: 1, 0.747: 1, 196.46099999999998: 1, 1.046: 1, 260.44599999999997: 1, 710.21300000000008: 1, 264.35300000000001: 1, 326.34699999999998: 1, 2.2319999999999998: 1, 1503.8470000000002: 1, 1585.78: 1, nan: 1, 643.11500000000001: 1, 281.42200000000003: 1, 1.23: 1, 301.96299999999997: 1, 734.86199999999997: 1, nan: 1, 492.85199999999998: 1, nan: 1, 998.09399999999994: 1, 1143.7570000000001: 1, nan: 1, 438.44199999999995: 1, 871.67600000000004: 1, 674.84199999999998: 1, 1023.1439999999999: 1, 363.53800000000001: 1, 806.19399999999996: 1, 158.02700000000002: 1, 1484.2: 1, 866.02300000000002: 1, 587.15199999999993: 1, 1.337: 1, 821.09300000000007: 1, nan: 1, 2.5499999999999998: 1, 794.84000000000003: 1, 707.13199999999995: 1, 1916.2539999999999: 1, 393.65100000000001: 1, nan: 1, 1319.2070000000001: 1, nan: 1, 1946.932: 1, 1188.9660000000001: 1, 318.95099999999996: 1, 1011.2919999999999: 1, 989.91899999999998: 1, 346.875: 1, 4.7110000000000003: 1, 4.6829999999999998: 1, 354.94: 1, 843.26199999999994: 1, 18217.688000000002: 1, nan: 1, 831.84300000000007: 1, 144.529: 1, 1145.164: 1, 4.2939999999999996: 1, nan: 1, 8.4350000000000005: 1, 2088.5239999999999: 1, 286.94: 1, 7921.6289999999999: 1, 1458.2520000000002: 1, 976.30700000000002: 1, 55.601000000000006: 1, 217.96299999999999: 1, 298.86400000000003: 1, 988.846: 1, 4027.692: 1, 6176.5869999999995: 1, 1180.9380000000001: 1, nan: 1, nan: 1, nan: 1, 155.92500000000001: 1, 205.32400000000001: 1, 17132.613000000001: 1, 0.47600000000000003: 1, 176.58000000000001: 1, 243.34799999999998: 1, 827.52399999999989: 1, 5.8849999999999998: 1, 687.38: 1, 201.304: 1, 484.27699999999999: 1, 1265.3399999999999: 1, 727.00699999999995: 1, 324.43099999999998: 1, 8193.6190000000006: 1, 354.5: 1, nan: 1, 1463.3779999999999: 1, 889.91399999999999: 1, 557.11599999999999: 1, nan: 1, 869.23300000000006: 1, 57.943000000000005: 1, 32.219000000000001: 1, 458.34199999999998: 1, 0.73499999999999999: 1, 511.46800000000002: 1, 60.553999999999995: 1, 1205.355: 1, nan: 1, 1156.8489999999999: 1, nan: 1, 4689.8440000000001: 1, 963.49800000000005: 1, 368.41199999999998: 1, 742.70000000000005: 1, 370.36000000000001: 1, nan: 1, 402.33600000000001: 1, 97.766000000000005: 1, 120.818: 1, 172.09799999999998: 1, nan: 1, 1116.2349999999999: 1, 504.61699999999996: 1, 1974.5510000000002: 1, 157.06: 1, 451.05800000000005: 1, 443.61099999999999: 1, 966.72600000000011: 1, 7.7000000000000002: 1, 0.38200000000000001: 1, 103.21899999999999: 1, 150.49000000000001: 1, 394.20699999999999: 1, 504.77499999999998: 1, 686.87100000000009: 1, 1.581: 1, 1035.933: 1, 865.25300000000004: 1, 1986.6589999999999: 1, 157.494: 1, 226.893: 1, 136.792: 1, 218.39599999999999: 1, 82.177999999999997: 1, 2.1459999999999999: 1, 127.193: 1, nan: 1, 791.36300000000006: 1, 517.65599999999995: 1, 496.83499999999998: 1, 231.928: 1, 140.34399999999999: 1, 146.44799999999998: 1, 265.66700000000003: 1, 1194.153: 1, nan: 1, 2026.481: 1, 1.4890000000000001: 1, 167.50099999999998: 1, 1450.8399999999999: 1, 960.125: 1, 165.28900000000002: 1, 1360.0309999999999: 1, 0.55500000000000005: 1, 344.81300000000005: 1, 269.66200000000003: 1, 1.8019999999999998: 1, 527.49300000000005: 1, nan: 1, 357.08099999999996: 1, 3.056: 1, 939.08800000000008: 1, 257.5: 1, 683.33300000000008: 1, 2.4790000000000001: 1, 170.57900000000001: 1, 140.89500000000001: 1, 394.58699999999999: 1, 2133.0460000000003: 1, 566.86800000000005: 1, 1180.7950000000001: 1, 1855.4349999999999: 1, 243.19499999999999: 1, 2266.163: 1, 2.7360000000000002: 1, 824.33199999999999: 1, 535.13699999999994: 1, 317.47399999999999: 1, 103.34399999999999: 1, nan: 1, 1153.771: 1, 4.0280000000000005: 1, 604.51400000000001: 1, 219.11900000000003: 1, 1206.671: 1, 236.73500000000001: 1, 860.53999999999996: 1, 125.185: 1, 5.2629999999999999: 1, 796.97199999999998: 1, 799.35800000000006: 1, 234.101: 1, 612.12599999999998: 1, 312.10500000000002: 1, 298.73900000000003: 1, 368.66500000000002: 1, 1960.547: 1, 624.02199999999993: 1, 318.84800000000001: 1, 644.44799999999998: 1, 249.06299999999999: 1, 551.77699999999993: 1, 252.02500000000001: 1, 48.494: 1, 124.77799999999999: 1, 221.14700000000002: 1, nan: 1, 1.1799999999999999: 1, 408.185: 1, nan: 1, 3.0789999999999997: 1, 659.88100000000009: 1, 5052.5150000000003: 1, 74.427999999999997: 1, 6446.7849999999999: 1, 2063.3179999999998: 1, nan: 1, 62.843000000000004: 1, 248.18200000000002: 1, 1082.875: 1, 391.16800000000001: 1, 664.02100000000007: 1, 503.26900000000001: 1, 2014.9649999999999: 1, 260.09100000000001: 1, nan: 1, 191.87299999999999: 1, nan: 1, nan: 1, 259.87400000000002: 1, 1402.6870000000001: 1, 30.785: 1, 292.58299999999997: 1, 374.11300000000006: 1, 365.17699999999996: 1, 843.10000000000002: 1, 385.64800000000002: 1, nan: 1, 7356.7849999999999: 1, 1032.537: 1, 1187.729: 1, 1092.5899999999999: 1, 343.29699999999997: 1, 113.309: 1, 2089.8490000000002: 1, 3.7360000000000002: 1, 248.19799999999998: 1, 7413.6660000000002: 1, 1456.9200000000001: 1, 1368.414: 1, 838.58399999999995: 1, 1212.5150000000001: 1, 338.84500000000003: 1, 536.14300000000003: 1, 0.44799999999999995: 1, 58.884999999999998: 1, 15425.021000000001: 1, 105.17100000000001: 1, 770.97699999999998: 1, 671.59500000000003: 1, 5063.2979999999998: 1, 21695.054: 1, 922.82500000000005: 1, 868.49300000000005: 1, 111.697: 1, 1373.8589999999999: 1, 316.92400000000004: 1, 1011.2180000000001: 1, 781.44100000000003: 1, 77.242999999999995: 1, 157.95500000000001: 1, 291.46899999999999: 1, 355.06999999999999: 1, 86.819000000000003: 1, 121.723: 1, 290.99400000000003: 1, 2661.6729999999998: 1, 1055.261: 1, 5.2910000000000004: 1, 95.459999999999994: 1, 128.30000000000001: 1, 130.529: 1, 154.88299999999998: 1, 174.21200000000002: 1, 773.89999999999998: 1, 4.3369999999999997: 1, 379.86199999999997: 1, 408.88199999999995: 1, 119.809: 1, 604.99400000000003: 1, 106.42200000000001: 1, 0.51700000000000002: 1, 253.95599999999999: 1, 400.30800000000005: 1, 1277.212: 1, 706.63999999999999: 1, 194.50700000000001: 1, 7677.3669999999993: 1, 1899.933: 1, nan: 1, 4490.9129999999996: 1, nan: 1, 223.18400000000003: 1, 313.52800000000002: 1, 256.37: 1, 272.57799999999997: 1, 1229.2910000000002: 1, 86.040999999999997: 1, nan: 1, 647.81600000000003: 1, 594.56700000000001: 1, 1182.4360000000001: 1, 686.54399999999998: 1, nan: 1, 4316.7939999999999: 1, 2.048: 1, 1.6969999999999998: 1, 681.072: 1, 230.24200000000002: 1, 238.63200000000001: 1, 238.51900000000001: 1, 99.375: 1, 2006.7349999999999: 1, 173.95400000000001: 1, 638.05099999999993: 1, 1641.3800000000001: 1, 524.55600000000004: 1, 1471.348: 1, 610.61400000000003: 1, 2.8799999999999999: 1, 641.101: 1, 1392.6400000000001: 1, 731.24199999999996: 1, 2075.9339999999997: 1, 1163.884: 1, 3362.2779999999998: 1, 228.125: 1, 619.048: 1, 277.81: 1, 293.00599999999997: 1, nan: 1, nan: 1, 57.461000000000006: 1, 563.38199999999995: 1, 264.93000000000001: 1, 948.43299999999999: 1, nan: 1, 625.77599999999995: 1, 337.608: 1, 4.4960000000000004: 1, 4.718: 1, 282.85400000000004: 1, 1793.9360000000001: 1, 4.4000000000000004: 1, 612.02800000000002: 1, 127.79299999999999: 1, nan: 1, 180.797: 1, 1497.067: 1, 590.94900000000007: 1, 4.8289999999999997: 1, 113.925: 1, 1168.674: 1, 983.2589999999999: 1, 96.906000000000006: 1, 161.392: 1, 17355.841: 1, 587.92899999999997: 1, 46.795000000000002: 1, 323.85200000000003: 1, 336.666: 1, 2607.4949999999999: 1, 358.10699999999997: 1, 173.71799999999999: 1, 220.113: 1, 0.89500000000000002: 1, 10639.386999999999: 1, 25.355: 1, nan: 1, 553.64099999999996: 1, 1.7080000000000002: 1, 320.33199999999999: 1, 1885.8210000000001: 1, 140.30500000000001: 1, 16.798999999999999: 1, 6096.8719999999994: 1, 303.39599999999996: 1, 1065.597: 1, nan: 1, 606.22000000000003: 1, 217.733: 1, 35.393000000000001: 1, 7439.4049999999997: 1, 160.31799999999998: 1, 1.2309999999999999: 1, 1149.519: 1, 285.12400000000002: 1, 236.917: 1, 4.9379999999999997: 1, 400.37900000000002: 1, 340.21499999999997: 1, 1643.8920000000001: 1, nan: 1, 740.72800000000007: 1, 227.851: 1, nan: 1, 325.60300000000001: 1, nan: 1, 444.46699999999998: 1, 144.57499999999999: 1, 468.63: 1, 293.99200000000002: 1, 5209.4279999999999: 1, 15959.563: 1, 0.93900000000000006: 1, 16263.214: 1, 127.57600000000001: 1, 1223.173: 1, 166.88800000000001: 1, 267.721: 1, 2473.857: 1, nan: 1, 7909.5010000000002: 1, 91.491: 1, 544.29300000000001: 1, 296.46100000000001: 1, 127.852: 1, 106.154: 1, 0.81000000000000005: 1, 238.96400000000003: 1, 5.3129999999999997: 1, 2037.8910000000001: 1, 648.68600000000004: 1, 1559.6079999999999: 1, 1592.922: 1, 2708.902: 1, 1049.961: 1, nan: 1, 956.85399999999993: 1, 143.53700000000001: 1, 0.83599999999999997: 1, 312.52600000000001: 1, 288.12700000000001: 1, 231.477: 1, nan: 1, 119.81399999999999: 1, 45.326999999999998: 1, 148.839: 1, 157.56799999999998: 1, nan: 1, 417.36500000000001: 1, 400.596: 1, 1425.1370000000002: 1, 1.7390000000000001: 1, 224.649: 1, 970.85199999999998: 1, 887.61300000000006: 1, 1317.1270000000002: 1, 367.42800000000005: 1, 286.91900000000004: 1, 1.599: 1, 378.17699999999996: 1, 177.30500000000001: 1, 3906.4780000000001: 1, 949.70699999999999: 1, 4460.4340000000002: 1, 292.262: 1, 115.541: 1, 944.29399999999998: 1, 625.34900000000005: 1, 265.94799999999998: 1, 199.959: 1, 248.80099999999999: 1, 108.52200000000001: 1, nan: 1, 132.05799999999999: 1, 940.28800000000001: 1, 163.023: 1, 3.1099999999999999: 1, 706.87699999999995: 1, 1099.316: 1, 699.33800000000008: 1, 731.64600000000007: 1, 3.427: 1, 89.257999999999996: 1, 3.7739999999999996: 1, 229.90200000000002: 1, 328.24599999999998: 1, 867.93499999999995: 1, 405.45300000000003: 1, 163.05799999999999: 1, 251.45699999999999: 1, 349.86900000000003: 1, 713.64499999999998: 1, 1079.2060000000001: 1, 4.798: 1, 230.41900000000001: 1, 392.39699999999999: 1, 164.59: 1, 328.79599999999999: 1, 1122.7850000000001: 1, 610.96199999999999: 1, 5.0620000000000003: 1, 322.43299999999999: 1, 121.43700000000001: 1, 254.89099999999999: 1, 1.901: 1, 296.98099999999999: 1, 1675.856: 1, 488.86599999999999: 1, 120.42200000000001: 1, nan: 1, 91.549999999999997: 1, 984.15300000000002: 1, 259.18900000000002: 1, 8.7620000000000005: 1, 160.27799999999999: 1, 7907.9099999999999: 1, 620.23199999999997: 1, 119.021: 1, nan: 1, 252.625: 1, 518.94000000000005: 1, 5895.2290000000003: 1, 1533.826: 1, 246.39099999999999: 1, 381.65800000000002: 1, 91.890000000000001: 1, nan: 1, 6830.665: 1, 863.33300000000008: 1, nan: 1, 984.95399999999995: 1, 634.42099999999994: 1, nan: 1, 329.89999999999998: 1, 490.62699999999995: 1, nan: 1, 601.14300000000003: 1, 421.00099999999998: 1, 959.625: 1, 1843.1479999999999: 1, nan: 1, 1387.046: 1, 401.62099999999998: 1, nan: 1, 18.300000000000001: 1, 5125.8119999999999: 1, 101.34299999999999: 1, 230.155: 1, 142.554: 1, 2.2969999999999997: 1, 246.34799999999998: 1, 156.11700000000002: 1, 470.66699999999997: 1, 711.755: 1, 2.516: 1, 338.036: 1, 897.42600000000004: 1, 1334.2779999999998: 1, 16041.333999999999: 1, 4804.5810000000001: 1, 438.10300000000001: 1, 1382.3510000000001: 1, 122.92100000000001: 1, 813.92499999999995: 1, 1457.037: 1, 872.94600000000003: 1, nan: 1, 2587.0210000000002: 1, 6244.2449999999999: 1, 97.231000000000009: 1, 1598.1500000000001: 1, 431.858: 1, 7079.7109999999993: 1, 307.459: 1, 390.15199999999999: 1, 327.95300000000003: 1, 854.83399999999995: 1, 693.28600000000006: 1, 6230.8990000000003: 1, 6854.4949999999999: 1, 117.92100000000001: 1, nan: 1, 92.308999999999997: 1, 544.596: 1, 1913.6289999999999: 1, 592.02499999999998: 1, 0.76700000000000002: 1, 1623.3970000000002: 1, 155.68200000000002: 1, 6978.3669999999993: 1, 2.2000000000000002: 1, 301.85200000000003: 1, 506.87199999999996: 1, 1678.7349999999999: 1, 187.47200000000001: 1, 208.85599999999999: 1, 8.7509999999999994: 1, nan: 1, 3440.9390000000003: 1, 9497.866: 1, nan: 1, 1031.028: 1, 135.149: 1, 173.50299999999999: 1, nan: 1, nan: 1, 381.42800000000005: 1, 2201.5549999999998: 1, nan: 1, 1679.1279999999999: 1, 1418.5029999999999: 1, 1708.7020000000002: 1, 223.25200000000001: 1, 835.24399999999991: 1, 164.82599999999999: 1, 512.29499999999996: 1, 1016.045: 1, 1005.253: 1, 424.35300000000001: 1, 423.98900000000003: 1, 1.052: 1, 249.649: 1, 353.00699999999995: 1, 232.12299999999999: 1, nan: 1, 475.18400000000003: 1, nan: 1, 1976.3370000000002: 1, 335.98500000000001: 1, 541.04499999999996: 1, 1517.309: 1, 933.66300000000001: 1, 494.93099999999998: 1, nan: 1, nan: 1, 1012.72: 1, 234.15799999999999: 1, 347.01800000000003: 1, 80.289000000000001: 1, 1.756: 1, 2.6060000000000003: 1, 645.17700000000002: 1, 531.55700000000002: 1, 401.07199999999995: 1, 1158.6789999999999: 1, nan: 1, 1260.376: 1, 577.96100000000001: 1, 769.95299999999997: 1, 2004.7139999999999: 1, 3470.335: 1, 672.48000000000002: 1, 593.34400000000005: 1, 2.585: 1, 530.42599999999993: 1, 413.31900000000002: 1, 829.47399999999993: 1, 38.758000000000003: 1, 1393.1700000000001: 1, nan: 1, 361.06599999999997: 1, 619.91099999999994: 1, 5.2149999999999999: 1, 1373.3429999999998: 1, 733.92499999999995: 1, 934.5089999999999: 1, 1380.8520000000001: 1, 6044.4859999999999: 1, 1957.039: 1, 2.012: 1, 122.223: 1, 718.69399999999996: 1, 283.38900000000001: 1, 459.286: 1, 915.09500000000003: 1, 499.31300000000005: 1, nan: 1, 132.387: 1, 4.7810000000000006: 1, 6.5999999999999996: 1, 380.94900000000001: 1, 851.34000000000003: 1, nan: 1, 104.94: 1, nan: 1, 907.63199999999995: 1, 1463.4779999999998: 1, nan: 1, nan: 1, 726.98800000000006: 1, 2322.6039999999998: 1, 11.894: 1, 1363.7929999999999: 1, 162.821: 1, 364.98000000000002: 1, 81.837000000000003: 1, 0.38400000000000001: 1, 132.35399999999998: 1, 763.67899999999997: 1, 131.18200000000002: 1, 277.923: 1, 3089.6500000000001: 1, 529.46900000000005: 1, 539.36300000000006: 1, 417.44800000000004: 1, nan: 1, 211.489: 1, 1013.51: 1, nan: 1, 1223.961: 1, 61.292000000000002: 1, 392.791: 1, 357.05699999999996: 1, 328.392: 1, 441.19: 1, 125.273: 1, 7989.6289999999999: 1, 2.5630000000000002: 1, 252.12599999999998: 1, 760.548: 1, nan: 1, 2299.846: 1, 5264.384: 1, 394.49300000000005: 1, 2100.2670000000003: 1, 131.05000000000001: 1, 358.45699999999999: 1, 103.98999999999999: 1, 483.58300000000003: 1, nan: 1, nan: 1, 51.93: 1, 1795.1199999999999: 1, 185.21099999999998: 1, 1079.5919999999999: 1, 177.48400000000001: 1, 4391.9319999999998: 1, 366.27600000000001: 1, 101.95200000000001: 1, 6003.4290000000001: 1, 102.13799999999999: 1, 3600.3130000000001: 1, 207.364: 1, nan: 1, 512.01999999999998: 1, 509.24900000000002: 1, 1859.7920000000001: 1, 268.93900000000002: 1, 602.41399999999999: 1, 229.35499999999999: 1, 353.48900000000003: 1, nan: 1, 133.31700000000001: 1, 118.88600000000001: 1, 4534.2820000000002: 1, 94.989999999999995: 1, 415.93599999999998: 1, 862.80700000000002: 1, 118.405: 1, 408.63: 1, 236.27900000000002: 1, 804.596: 1, 148.54900000000001: 1, 125.089: 1, 726.88499999999999: 1, 491.56400000000002: 1, 747.20000000000005: 1, 1.466: 1, 5104.4759999999997: 1, 422.30099999999999: 1, 736.98500000000001: 1, nan: 1, 458.58600000000001: 1, 285.38400000000001: 1, 133.78200000000001: 1, 159.761: 1, 0.68000000000000005: 1, 546.71400000000006: 1, 1544.144: 1, 720.2589999999999: 1, 1600.1079999999999: 1, 574.49400000000003: 1, 114.35799999999999: 1, 5599.25: 1, nan: 1, 267.12: 1, 210.68099999999998: 1, 493.45400000000001: 1, 0.63900000000000001: 1, 166.31299999999999: 1, 622.80200000000002: 1, nan: 1, 1428.5920000000001: 1, 991.36899999999991: 1, 440.67400000000004: 1, 1066.1860000000001: 1, nan: 1, 293.834: 1, 415.29199999999997: 1, 563.21400000000006: 1, 597.61099999999999: 1, 121.59200000000001: 1, 1486.2049999999999: 1, 695.86300000000006: 1, 312.83499999999998: 1, 263.68799999999999: 1, 4824.8359999999993: 1, nan: 1, 463.92099999999999: 1, 3193.4229999999998: 1, 216.452: 1, 299.589: 1, 320.387: 1, 170.87: 1, nan: 1, 1830.9289999999999: 1, 705.00100000000009: 1, 525.87800000000004: 1, 3.4789999999999996: 1, 184.48699999999999: 1, 17420.310000000001: 1, 423.33099999999996: 1, 368.93199999999996: 1, 20790.796000000002: 1, 746.25: 1, 1301.9160000000002: 1, 1356.5029999999999: 1, 305.654: 1, 2235.1710000000003: 1, 2.9260000000000002: 1, 1841.3629999999998: 1, 72.870000000000005: 1, 228.31999999999999: 1, 3.0739999999999998: 1, 1038.664: 1, 217.28200000000001: 1, 301.72399999999999: 1, 2.008: 1, 1414.075: 1, 1112.2089999999998: 1, 570.37: 1, 488.84500000000003: 1, 727.75699999999995: 1, 2.9300000000000002: 1, 1130.241: 1, 564.26699999999994: 1, 161.11500000000001: 1, 281.36700000000002: 1, 335.38999999999999: 1, nan: 1, 8.9290000000000003: 1, 110.804: 1, 875.92399999999998: 1, 730.54399999999998: 1, 295.988: 1, nan: 1, 419.13099999999997: 1, 4.4260000000000002: 1, 222.625: 1, 261.31099999999998: 1, 606.13900000000001: 1, 631.73500000000001: 1, 28.384: 1, 312.18200000000002: 1, 106.87: 1, 1007.5830000000001: 1, 244.02099999999999: 1, 1.123: 1, 16132.287: 1, 148.43799999999999: 1, 2.1719999999999997: 1, 676.06399999999996: 1, 21125.069: 1, 892.529: 1, 5607.8119999999999: 1, nan: 1, nan: 1, 489.375: 1, 226.417: 1, 419.08699999999999: 1, 202.37900000000002: 1, nan: 1, 546.72900000000004: 1, 119.455: 1, 836.54999999999995: 1, 297.11500000000001: 1, 1870.2079999999999: 1, nan: 1, 1168.7339999999999: 1, 478.86199999999997: 1, 409.33199999999999: 1, 621.19600000000003: 1, 12.247999999999999: 1, 113.94200000000001: 1, 97.369: 1, 919.41800000000001: 1, 178.32299999999998: 1, 51.652999999999999: 1, 1.1699999999999999: 1, 263.69599999999997: 1, 839.08399999999995: 1, 550.13400000000001: 1, 328.87900000000002: 1, 1181.009: 1, 1002.932: 1, 144.48099999999999: 1, 97.019999999999996: 1, 309.94499999999999: 1, 140.46700000000001: 1, 7536.9580000000005: 1, 104.214: 1, 445.85900000000004: 1, 568.02199999999993: 1, nan: 1, nan: 1, 1081.223: 1, 198.39400000000001: 1, 135.74799999999999: 1, nan: 1, 322.541: 1, nan: 1, 6438.2399999999998: 1, 131.68100000000001: 1, 0.50800000000000001: 1, nan: 1, 272.11799999999999: 1, 373.56400000000002: 1, 150.446: 1, 2.5390000000000001: 1, 679.89899999999989: 1, 113.986: 1, nan: 1, 501.12699999999995: 1, 775.202: 1, nan: 1, 782.94899999999996: 1, 1593.8910000000001: 1, 543.74699999999996: 1, nan: 1, 326.85000000000002: 1, 1.093: 1, 385.39099999999996: 1, 21853.029999999999: 1, 1291.6559999999999: 1, 210.99299999999999: 1, 1.159: 1, 424.41199999999998: 1, 773.9910000000001: 1, nan: 1, 157.34700000000001: 1, 101.93899999999999: 1, 990.75699999999995: 1, 251.202: 1, 694.92700000000002: 1, nan: 1, 601.53599999999994: 1, 225.40000000000001: 1, 237.53200000000001: 1, 339.77800000000002: 1, 638.99000000000001: 1, 524.28099999999995: 1, 1.002: 1, 323.60500000000002: 1, 362.72199999999998: 1, 475.05599999999998: 1, 205.208: 1, 309.12099999999998: 1, 85.328999999999994: 1, 567.86500000000001: 1, 516.19799999999998: 1, 2.7689999999999997: 1, 125.637: 1, 375.44400000000002: 1, 2398.5210000000002: 1, 1194.847: 1, 285.19099999999997: 1, nan: 1, 3.27: 1, nan: 1, 878.66699999999992: 1, 4.5380000000000003: 1, 4.1349999999999998: 1, 186.17700000000002: 1, nan: 1, 293.51400000000001: 1, 11.357999999999999: 1, 333.43800000000005: 1, 310.548: 1, 132.25: 1, 211.649: 1, 1011.59: 1, 1167.921: 1, 1091.2329999999999: 1, 811.88199999999995: 1, 5.1520000000000001: 1, 196.73699999999999: 1, 1152.239: 1, 97.552000000000007: 1, 15.992000000000001: 1, 15410.258999999998: 1, 1285.546: 1, 1175.1030000000001: 1, 379.10400000000004: 1, nan: 1, 3852.3690000000001: 1, 187.33799999999999: 1, nan: 1, 38.499000000000002: 1, 894.88499999999999: 1, 265.25: 1, 21411.445: 1, nan: 1, 660.01199999999994: 1, 331.57300000000004: 1, 2003.5120000000002: 1, 2344.0219999999999: 1, nan: 1, 78.004999999999995: 1, 540.40499999999997: 1, 437.315: 1, nan: 1, nan: 1, nan: 1, 181.95099999999999: 1, 1271.5510000000002: 1, nan: 1, nan: 1, 457.38499999999999: 1, 158.31200000000001: 1, nan: 1, 8685.6119999999992: 1, 291.78399999999999: 1, 382.58199999999999: 1, nan: 1, 402.0: 1, 169.29300000000001: 1, nan: 1, 36.972999999999999: 1, 107.59700000000001: 1, 311.54000000000002: 1, 6499.6199999999999: 1, 805.41100000000006: 1, 94.962000000000003: 1, 137.44299999999998: 1, 9782.4200000000001: 1, 294.65199999999999: 1, 1912.1989999999998: 1, 149.48400000000001: 1, 1049.0930000000001: 1, nan: 1, 229.33700000000002: 1, 461.37400000000002: 1, 573.32100000000003: 1, 857.06799999999998: 1, 229.21799999999999: 1, 573.46699999999998: 1, 4.0220000000000002: 1, 343.94800000000004: 1, 72.373000000000005: 1, 115.524: 1, 122.50299999999999: 1, 217.94999999999999: 1, 503.84300000000002: 1, 1858.9560000000001: 1, 401.26199999999994: 1, 497.78800000000001: 1, 225.52700000000002: 1, 131.256: 1, 987.73199999999997: 1, 812.24800000000005: 1, 0.89300000000000002: 1, 1539.7420000000002: 1, 453.58499999999998: 1, 613.59100000000001: 1, 1119.8219999999999: 1, 398.74400000000003: 1, 129.45400000000001: 1, 167.93299999999999: 1, 378.72000000000003: 1, 196.893: 1, nan: 1, 210.048: 1, 4274.8220000000001: 1, 295.858: 1, 207.80799999999999: 1, 849.13: 1, 129.31999999999999: 1, 257.44900000000001: 1, 351.65699999999998: 1, 340.77600000000001: 1, 476.10400000000004: 1, 1177.5350000000001: 1, 0.54899999999999993: 1, 15661.713: 1, 1554.99: 1, 910.39600000000007: 1, 157.482: 1, 6831.8230000000003: 1, 598.92200000000003: 1, 700.51800000000003: 1, nan: 1, 300.553: 1, 1.7309999999999999: 1, 4.4450000000000003: 1, 3.0800000000000001: 1, 270.846: 1, 869.58800000000008: 1, 1.423: 1, 365.245: 1, 860.80999999999995: 1, 255.66400000000002: 1, 995.98100000000011: 1, 267.16900000000004: 1, 706.06299999999999: 1, 746.47899999999993: 1, 271.76900000000001: 1, 229.56799999999998: 1, 942.04199999999992: 1, 926.79899999999998: 1, 157.06899999999999: 1, 109.904: 1, nan: 1, 1292.48: 1, nan: 1, 414.29300000000001: 1, 0.42200000000000004: 1, 250.79400000000001: 1, 470.33600000000001: 1, 505.05699999999996: 1, 988.53499999999997: 1, 416.11699999999996: 1, 239.22099999999998: 1, 1779.0420000000001: 1, 1422.124: 1, 384.25400000000002: 1, 249.74900000000002: 1, 784.38300000000004: 1, 118.102: 1, 194.80599999999998: 1, 295.83799999999997: 1, 229.18299999999999: 1, 143.58199999999999: 1, 252.38099999999997: 1, 1683.3979999999999: 1, 4.0899999999999999: 1, 99.843999999999994: 1, 101.83799999999999: 1, 281.84899999999999: 1, 812.41199999999992: 1, 317.04599999999999: 1, nan: 1, nan: 1, 767.46199999999999: 1, 118.751: 1, nan: 1, nan: 1, 971.29399999999998: 1, 1750.2120000000002: 1, 844.10800000000006: 1, 442.089: 1, 643.75400000000002: 1, 1008.054: 1, 289.91399999999999: 1, 802.63800000000003: 1, 316.68900000000002: 1, 339.02199999999999: 1, 193.44999999999999: 1, 1412.7329999999999: 1, 4.1230000000000002: 1, 84.435000000000002: 1, 987.59199999999998: 1, nan: 1, 9988.4789999999994: 1, 224.625: 1, 999.44000000000005: 1, 872.35699999999997: 1, 342.78199999999998: 1, 759.18700000000001: 1, 372.11500000000001: 1, nan: 1, 619.73199999999997: 1, 259.10500000000002: 1, nan: 1, 516.27699999999993: 1, 1.24: 1, 8411.866: 1, 744.53999999999996: 1, 133.488: 1, 55.311000000000007: 1, 1.3630000000000002: 1, 97.387999999999991: 1, 1100.2429999999999: 1, 212.245: 1, 1016.125: 1, 565.721: 1, 319.17500000000001: 1, 6608.482: 1, 129.31799999999998: 1, 751.74800000000005: 1, nan: 1, 108.831: 1, 1161.374: 1, 1544.7070000000001: 1, 170.28: 1, nan: 1, 166.761: 1, 1466.1600000000001: 1, 1043.7560000000001: 1, 1021.545: 1, 93.37700000000001: 1, 124.804: 1, 7566.9419999999991: 1, 199.785: 1, nan: 1, 121.06700000000001: 1, 868.95600000000002: 1, 912.64800000000002: 1, 209.113: 1, nan: 1, 845.44600000000003: 1, 685.19299999999998: 1, 65.028000000000006: 1, 94.454999999999998: 1, 0.95200000000000007: 1, 123.303: 1, 534.74000000000001: 1, 679.71399999999994: 1, 1100.9360000000001: 1, 65.224999999999994: 1, 6.2000000000000002: 1, 988.50399999999991: 1, 895.87899999999991: 1, 127.90799999999999: 1, 137.51400000000001: 1, 1871.8520000000001: 1, 5.4510000000000005: 1, 119.52: 1, 327.26299999999998: 1, nan: 1, 1.6519999999999999: 1, 833.17100000000005: 1, 341.411: 1, 130.91999999999999: 1, 298.81900000000002: 1, 218.98099999999999: 1, 289.90300000000002: 1, 903.99699999999996: 1, 936.76600000000008: 1, 305.84399999999999: 1, nan: 1, 285.44499999999999: 1, 465.548: 1, 289.63099999999997: 1, 68.132000000000005: 1, 149.41499999999999: 1, 469.76800000000003: 1, 618.654: 1, 0.83700000000000008: 1, 339.18699999999995: 1, 339.79699999999997: 1, 535.99699999999996: 1, 169.08500000000001: 1, 344.40199999999999: 1, 658.39600000000007: 1, 787.84500000000003: 1, 1562.9360000000001: 1, 4708.4960000000001: 1, 306.12599999999998: 1, nan: 1, 819.78899999999999: 1, nan: 1, 1369.521: 1, 438.59500000000003: 1, 610.51099999999997: 1, 5158.1930000000002: 1, 624.63999999999999: 1, 64.040000000000006: 1, 128.21000000000001: 1, 1000.783: 1, 3.4430000000000001: 1, 136.28299999999999: 1, 1447.095: 1, 1586.8210000000001: 1, 657.84399999999994: 1, 5.0590000000000002: 1, nan: 1, 131.84700000000001: 1, 520.26699999999994: 1, 454.88300000000004: 1, 691.03100000000006: 1, 4.8230000000000004: 1, 1913.52: 1, 243.11599999999999: 1, 6846.0580000000009: 1, 213.905: 1, 1522.6420000000001: 1, 727.97300000000007: 1, 451.31599999999997: 1, 6339.6890000000003: 1, 214.078: 1, nan: 1, 499.63599999999997: 1, 11.034000000000001: 1, 2464.3679999999999: 1, 116.87700000000001: 1, 140.334: 1, 396.03800000000001: 1, nan: 1, 243.31999999999999: 1, 173.43900000000002: 1, nan: 1, 125.06: 1, 14897.351000000001: 1, 6746.759: 1, 8391.1350000000002: 1, 9.4499999999999993: 1, 919.80499999999995: 1, 118.726: 1, 213.16400000000002: 1, 800.38499999999999: 1, 648.13199999999995: 1, 255.96799999999999: 1, 981.18299999999999: 1, 881.95399999999995: 1, 6911.7280000000001: 1, 388.94599999999997: 1, 419.45099999999996: 1, 860.77800000000002: 1, nan: 1, nan: 1, 123.33799999999999: 1, 265.774: 1, 424.06199999999995: 1, nan: 1, 1197.249: 1, 4987.3919999999998: 1, 589.48199999999997: 1, nan: 1, 174.38: 1, 489.69800000000004: 1, 992.93499999999995: 1, 918.673: 1, 1192.961: 1, 685.45299999999997: 1, 430.63099999999997: 1, 398.83499999999998: 1, 302.125: 1, 1105.7470000000001: 1, 4114.3459999999995: 1, 147.21299999999999: 1, nan: 1, nan: 1, 6993.482: 1, 116.28200000000001: 1, 423.50999999999999: 1, 85.852999999999994: 1, 609.952: 1, 339.26599999999996: 1, nan: 1, 1.22: 1, 1118.3620000000001: 1, nan: 1, 89.834000000000003: 1, 81.308000000000007: 1, 119.11: 1, 306.33199999999999: 1, 1.214: 1, 659.43200000000002: 1, 45.323: 1, 208.60900000000001: 1, nan: 1, 6274.1899999999996: 1, 532.44399999999996: 1, 327.17599999999999: 1, 329.57499999999999: 1, 0.621: 1, 108.18799999999999: 1, 230.08099999999999: 1, 768.62100000000009: 1, 6868.1890000000003: 1, 21286.839: 1, 1009.1660000000001: 1, 0.53299999999999992: 1, 224.04300000000001: 1, nan: 1, 144.52200000000002: 1, 133.126: 1, 130.47999999999999: 1, nan: 1, 1084.8499999999999: 1, 971.05399999999997: 1, 208.63200000000001: 1, 237.40400000000002: 1, nan: 1, 314.87: 1, 120.87799999999999: 1, 704.02800000000002: 1, 1.3740000000000001: 1, 1474.626: 1, nan: 1, 1710.751: 1, 1.5290000000000001: 1, nan: 1, 607.81799999999998: 1, nan: 1, 120.384: 1, 270.81400000000002: 1, 484.02199999999999: 1, 136.34799999999998: 1, 2497.6210000000001: 1, nan: 1, 361.67199999999997: 1, nan: 1, 1267.6130000000001: 1, nan: 1, 69.405000000000001: 1, 1408.4010000000001: 1, 1.528: 1, 6589.5159999999996: 1, 598.58500000000004: 1, 0.79900000000000004: 1, nan: 1, 1104.9849999999999: 1, nan: 1, 771.97000000000003: 1, 851.17200000000003: 1, 118.259: 1, 234.143: 1, nan: 1, 10057.226999999999: 1, 862.04300000000001: 1, 3.8889999999999998: 1, 2.5649999999999999: 1, 301.37: 1, 445.91300000000001: 1, 293.76900000000001: 1, nan: 1, 10325.969000000001: 1, 178.34099999999998: 1, 233.178: 1, 4477.6329999999998: 1, 915.79199999999992: 1, 306.45699999999999: 1, 1440.0450000000001: 1, 233.97400000000002: 1, 16945.296999999999: 1, 342.44599999999997: 1, 119.535: 1, 1.6359999999999999: 1, 1441.0020000000002: 1, nan: 1, 6.8329999999999993: 1, nan: 1, 203.61199999999999: 1, 244.011: 1, 493.58099999999996: 1, nan: 1, 1279.8010000000002: 1, 812.97199999999998: 1, nan: 1, 916.88600000000008: 1, 956.38499999999999: 1, 5.5: 1, 5266.5390000000007: 1, 8.9160000000000004: 1, 487.904: 1, 2373.5990000000002: 1, 1565.5379999999998: 1, 589.976: 1, 820.26899999999989: 1, 62.598999999999997: 1, 4408.241: 1, nan: 1, 379.97399999999999: 1, 66.468999999999994: 1, 195.36900000000003: 1, 285.09500000000003: 1, nan: 1, nan: 1, 537.05499999999995: 1, 2020.6270000000002: 1, 893.15600000000006: 1, 0.95400000000000007: 1, 415.19300000000004: 1, 0.50700000000000001: 1, 621.70100000000002: 1, 315.16500000000002: 1, nan: 1, 98.167000000000002: 1, nan: 1, nan: 1, 1141.3199999999999: 1, 483.48800000000006: 1, 1287.9189999999999: 1, 4462.5590000000002: 1, 135.80500000000001: 1, nan: 1, 185.67400000000001: 1, 318.90699999999998: 1, 622.84400000000005: 1, 6073.4290000000001: 1, nan: 1, 211.87599999999998: 1, 294.423: 1, 3.9670000000000001: 1, 2.96: 1, 180.291: 1, 314.54599999999999: 1, 868.62800000000004: 1, 4913.0929999999998: 1, 60.931999999999995: 1, 977.42600000000004: 1, nan: 1, 666.68799999999999: 1, 564.375: 1, 1753.1270000000002: 1, 224.18099999999998: 1, 489.476: 1, 117.31200000000001: 1, 1.222: 1, 114.166: 1, 74.981000000000009: 1, 622.36400000000003: 1, 1127.3010000000002: 1, 627.70699999999999: 1, 379.35300000000001: 1, nan: 1, 80.140000000000001: 1, nan: 1, nan: 1, 821.15100000000007: 1, 1710.942: 1, 689.40199999999993: 1, 196.976: 1, 143.334: 1, 233.107: 1, 444.88999999999999: 1, 977.35699999999997: 1, 674.98500000000001: 1, 760.74600000000009: 1, 104.21799999999999: 1, 466.99099999999999: 1, 155.738: 1, 1538.328: 1, 801.29100000000005: 1, 553.03899999999999: 1, 0.86199999999999999: 1, 389.35900000000004: 1, 489.41000000000003: 1, 447.75800000000004: 1, 117.41500000000001: 1, nan: 1, 128.56100000000001: 1, 158.03999999999999: 1, 1.288: 1, 382.43400000000003: 1, 161.37200000000001: 1, 1684.1760000000002: 1, 1263.8099999999999: 1, nan: 1, 1516.21: 1, 1183.3010000000002: 1, 5092.9189999999999: 1, 333.31300000000005: 1, 133.15899999999999: 1, 393.66300000000001: 1, 1.1659999999999999: 1, 1696.0870000000002: 1, 1454.308: 1, 574.51099999999997: 1, 619.42099999999994: 1, 0.96799999999999997: 1, 174.20500000000001: 1, 381.96899999999999: 1, nan: 1, 398.03300000000002: 1, 331.49400000000003: 1, 786.20899999999995: 1, nan: 1, 103.72200000000001: 1, 9533.9230000000007: 1, 1385.741: 1, 505.97699999999998: 1, 335.23599999999999: 1, 166.63900000000001: 1, 572.61599999999999: 1, 692.28199999999993: 1, 1306.963: 1, 241.49599999999998: 1, 684.89300000000003: 1, 227.11099999999999: 1, nan: 1, 589.43799999999999: 1, 1.3359999999999999: 1, 578.23599999999999: 1, 9039.4179999999997: 1, 3.6930000000000001: 1, 674.94899999999996: 1, 944.48800000000006: 1, 1062.809: 1, 461.70499999999998: 1, 291.30599999999998: 1, 1708.154: 1, 0.86499999999999999: 1, 451.62900000000002: 1, 62.873999999999995: 1, 1070.98: 1, 4.9269999999999996: 1, 1076.7860000000001: 1, 104.01899999999999: 1, 96.384: 1, 138.50700000000001: 1, 547.56700000000001: 1, 32.485999999999997: 1, 326.41000000000003: 1, 1113.471: 1, 1206.396: 1, 1778.7279999999998: 1, 11.548: 1, 736.11199999999997: 1, 167.37799999999999: 1, 5.7770000000000001: 1, 665.97300000000007: 1, 263.83999999999997: 1, 1.2549999999999999: 1, 11.77: 1, 509.04599999999999: 1, 667.44399999999996: 1, nan: 1, nan: 1, 125.889: 1, nan: 1, 622.15800000000002: 1, 628.78699999999992: 1, 350.72399999999999: 1, 1.216: 1, 197.774: 1, 4220.5680000000002: 1, 577.673: 1, 459.50599999999997: 1, 262.63200000000001: 1, 1027.2830000000001: 1, 976.74699999999996: 1, nan: 1, 1022.053: 1, 240.208: 1, 811.35000000000002: 1, 920.43799999999999: 1, 203.70699999999999: 1, nan: 1, 324.77299999999997: 1, 137.999: 1, 751.16899999999998: 1, 254.58500000000001: 1, 904.68499999999995: 1, 49.145000000000003: 1, 455.69599999999997: 1, nan: 1, 1582.1960000000001: 1, 111.53100000000001: 1, 418.71899999999999: 1, 175.642: 1, 192.041: 1, 2414.123: 1, 2330.009: 1, 401.24199999999996: 1, 193.60400000000001: 1, nan: 1, 5100.6769999999997: 1, 1319.8470000000002: 1, nan: 1, nan: 1, 333.73599999999999: 1, 208.07599999999999: 1, 573.298: 1, 257.19400000000002: 1, 343.48900000000003: 1, 372.81699999999995: 1, 112.295: 1, nan: 1, 183.18099999999998: 1, 1629.8610000000001: 1, 172.34900000000002: 1, 370.83199999999999: 1, 5916.2019999999993: 1, 905.69100000000003: 1, 106.965: 1, 624.78199999999993: 1, 6073.3739999999998: 1, 94.445999999999998: 1, 253.69400000000002: 1, 520.55399999999997: 1, 809.18700000000001: 1, 605.17499999999995: 1, 662.25: 1, 761.27600000000007: 1, 2.3130000000000002: 1, nan: 1, nan: 1, 6512.5580000000009: 1, 159.24600000000001: 1, 4419.5749999999998: 1, 1615.3729999999998: 1, 297.93099999999998: 1, 777.41600000000005: 1, 198.30500000000001: 1, 1385.636: 1, 192.548: 1, 1.202: 1, 208.38099999999997: 1, 363.55099999999999: 1, 414.96699999999998: 1, 1559.6529999999998: 1, 113.899: 1, 109.255: 1, 2.8300000000000001: 1, 4854.5969999999998: 1, 76.531000000000006: 1, 400.05400000000003: 1, 283.137: 1, 1180.54: 1, 619.95000000000005: 1, 7.5820000000000007: 1, 853.54600000000005: 1, nan: 1, 471.83499999999998: 1, 114.90600000000001: 1, 657.03999999999996: 1, 912.34300000000007: 1, 1.1930000000000001: 1, 388.24099999999999: 1, 571.43399999999997: 1, 982.04100000000005: 1, 238.173: 1, nan: 1, 429.85300000000001: 1, 429.90499999999997: 1, 147.572: 1, 238.726: 1, 170.63900000000001: 1, 88.390000000000001: 1, 228.53400000000002: 1, 968.52300000000002: 1, 979.68899999999996: 1, 0.77900000000000003: 1, 420.10400000000004: 1, 550.07900000000006: 1, 1984.0910000000001: 1, 624.91699999999992: 1, 7638.0940000000001: 1, 1901.0799999999999: 1, 509.17199999999997: 1, 4874.8580000000002: 1, 2.7119999999999997: 1, 4.2850000000000001: 1, 4817.0360000000001: 1, 956.76499999999999: 1, 691.71800000000007: 1, 0.53100000000000003: 1, 627.101: 1, 98.448999999999998: 1, 220.28: 1, 149.34100000000001: 1, 1322.7120000000002: 1, 787.88499999999999: 1, 507.72000000000003: 1, 5.7429999999999994: 1, 0.81799999999999995: 1, nan: 1, nan: 1, 211.315: 1, nan: 1, 319.03100000000001: 1, 160.16399999999999: 1, 181.452: 1, 1297.2919999999999: 1, 954.59199999999998: 1, 5839.3830000000007: 1, 1168.3419999999999: 1, 319.70599999999996: 1, 2210.5419999999999: 1, 246.273: 1, 1701.1900000000001: 1, 698.58300000000008: 1, nan: 1, 172.34599999999998: 1, 1142.912: 1, 3405.248: 1, 94.382999999999996: 1, 952.88300000000004: 1, nan: 1, 909.428: 1, 253.30799999999999: 1, 142.70699999999999: 1, 1163.4080000000001: 1, 667.822: 1, 1.923: 1, 985.41499999999996: 1, 7238.0349999999999: 1, 15530.937: 1, 280.49799999999999: 1, 205.66900000000001: 1, 254.358: 1, 383.29599999999999: 1, 532.21500000000003: 1, 113.081: 1, 243.84099999999998: 1, 229.03200000000001: 1, 119.56200000000001: 1, 961.55799999999999: 1, 452.90800000000002: 1, nan: 1, 327.22700000000003: 1, 1183.3430000000001: 1, 5865.8819999999996: 1, 1381.721: 1, 328.95599999999996: 1, 1018.9780000000001: 1, 355.68900000000002: 1, 56.573999999999998: 1, 101.554: 1, 415.233: 1, 964.72399999999993: 1, 724.09199999999998: 1, 457.61300000000006: 1, 1372.664: 1, 501.23900000000003: 1, 9074.0059999999994: 1, 2367.029: 1, 651.68700000000001: 1, 105.01700000000001: 1, 111.015: 1, 1037.9469999999999: 1, nan: 1, 89.996000000000009: 1, 237.14099999999999: 1, 1707.971: 1, 950.74600000000009: 1, nan: 1, 399.73599999999999: 1, 116.851: 1, 176.37: 1, nan: 1, 333.42500000000001: 1, 1134.134: 1, 205.44299999999998: 1, 517.25999999999999: 1, 409.62800000000004: 1, 851.56399999999996: 1, 119.825: 1, 6916.3389999999999: 1, 1494.45: 1, 252.405: 1, 361.52300000000002: 1, 391.52699999999999: 1, 3.141: 1, 385.06699999999995: 1, 887.70399999999995: 1, 403.09100000000001: 1, 241.25400000000002: 1, 163.358: 1, nan: 1, nan: 1, nan: 1, 126.75: 1, 7146.1289999999999: 1, 136.05600000000001: 1, 0.60999999999999999: 1, 507.92400000000004: 1, nan: 1, 5783.1880000000001: 1, nan: 1, 1209.729: 1, 207.78200000000001: 1, 325.87: 1, 455.88300000000004: 1, 160.672: 1, 1546.819: 1, 100.54600000000001: 1, 253.56599999999997: 1, 313.27800000000002: 1, 238.858: 1, 3.5169999999999999: 1, 297.488: 1, 180.63400000000001: 1, 1526.3399999999999: 1, nan: 1, 3670.9029999999998: 1, 363.94800000000004: 1, 286.38200000000001: 1, 369.33999999999997: 1, 760.26300000000003: 1, nan: 1, nan: 1, 955.93700000000001: 1, 548.46800000000007: 1, 119.51799999999999: 1, 949.44100000000003: 1, nan: 1, 380.09399999999999: 1, 1.026: 1, 183.46700000000001: 1, 140.751: 1, 662.096: 1, 2431.9229999999998: 1, 158.53999999999999: 1, 14.752000000000001: 1, 85.980000000000004: 1, 187.37900000000002: 1, 0.49399999999999999: 1, 1393.537: 1, 336.61500000000001: 1, 852.49699999999996: 1, 2.7589999999999999: 1, 1386.46: 1, 242.46400000000003: 1, 232.898: 1, 1051.9360000000001: 1, 948.029: 1, 290.48700000000002: 1, 359.28500000000003: 1, 426.786: 1, 1489.875: 1, 275.68400000000003: 1, 1066.521: 1, 1089.4400000000001: 1, 728.73800000000006: 1, nan: 1, 185.31: 1, nan: 1, 178.33500000000001: 1, 2.8180000000000001: 1, 115.78200000000001: 1, 5743.8999999999996: 1, nan: 1, 376.15300000000002: 1, 527.42399999999998: 1, 512.14599999999996: 1, 284.44599999999997: 1, 57.43: 1, 864.5139999999999: 1, 563.81700000000001: 1, 636.85000000000002: 1, 0.60599999999999998: 1, 4353.1109999999999: 1, 55.935000000000002: 1, 965.15999999999997: 1, 1581.5539999999999: 1, 68.463000000000008: 1, nan: 1, nan: 1, 120.61200000000001: 1, 257.56599999999997: 1, nan: 1, 534.01800000000003: 1, 2198.29: 1, 115.348: 1, 354.089: 1, 363.39999999999998: 1, 253.15299999999999: 1, nan: 1, 25.749000000000002: 1, 6413.375: 1, 26.399999999999999: 1, 745.13800000000003: 1, 840.34000000000003: 1, 271.63099999999997: 1, 609.16599999999994: 1, nan: 1, 554.67399999999998: 1, 311.15600000000001: 1, 592.73300000000006: 1, 6389.085: 1, 18954.918999999998: 1, 809.53100000000006: 1, nan: 1, 321.70099999999996: 1, 543.20600000000002: 1, 0.85400000000000009: 1, 4954.1890000000003: 1, nan: 1, 643.71800000000007: 1, 197.625: 1, 93.911000000000001: 1, 251.89500000000001: 1, 609.63699999999994: 1, nan: 1, 116.355: 1, 86.147999999999996: 1, 316.892: 1, 125.898: 1, 38.106000000000002: 1, 814.71699999999998: 1, nan: 1, 498.70699999999999: 1, 6558.7480000000005: 1, 129.33799999999999: 1, 848.75: 1, 194.86500000000001: 1, 111.256: 1, 109.18299999999999: 1, 5104.5929999999998: 1, 2794.7290000000003: 1, 307.75999999999999: 1, 986.70000000000005: 1, 138.30000000000001: 1, 336.15899999999999: 1, 1412.3310000000001: 1, nan: 1, 102.38799999999999: 1, 1081.2089999999998: 1, 1674.7139999999999: 1, 1605.626: 1, 4646.0870000000004: 1, 133.47: 1, 143.44899999999998: 1, 237.17099999999999: 1, 196.73400000000001: 1, 6.8979999999999997: 1, 87.077000000000012: 1, 727.18799999999999: 1, 4667.223: 1, 180.38900000000001: 1, 313.82499999999999: 1, 200.29300000000001: 1, 167.25099999999998: 1, 397.74900000000002: 1, 409.35000000000002: 1, 482.32499999999999: 1, 2000.0529999999999: 1, 1058.769: 1, 1215.4160000000002: 1, 441.89499999999998: 1, 118.42399999999999: 1, 3.0339999999999998: 1, nan: 1, 310.37: 1, 3.181: 1, 818.44200000000001: 1, nan: 1, nan: 1, 3394.192: 1, 264.49200000000002: 1, 2773.7350000000001: 1, 369.60599999999999: 1, 2.5789999999999997: 1, 205.63400000000001: 1, 968.99800000000005: 1, 172.43900000000002: 1, 265.45400000000001: 1, 186.25599999999997: 1, 150.16899999999998: 1, 281.279: 1, 605.54300000000001: 1, nan: 1, 604.50300000000004: 1, 652.79399999999998: 1, nan: 1, 368.67800000000005: 1, nan: 1, 348.02999999999997: 1, 126.98299999999999: 1, 86.632000000000005: 1, 183.23699999999999: 1, 2295.6559999999999: 1, 305.95400000000001: 1, 878.33600000000001: 1, 151.39700000000002: 1, 4.0700000000000003: 1, 367.15100000000001: 1, 326.61099999999999: 1, 15261.544: 1, 288.80900000000003: 1, 784.43799999999999: 1, 7.556: 1, 1003.672: 1, 6768.4940000000006: 1, 47.704999999999998: 1, 5.431: 1, 7279.4219999999996: 1, 6188.3109999999997: 1, 2362.2910000000002: 1, 90.680999999999997: 1, 424.01900000000001: 1, nan: 1, 901.40800000000002: 1, 451.94300000000004: 1, 1162.002: 1, 1539.8339999999998: 1, 991.66800000000001: 1, 1100.2: 1, 206.41900000000001: 1, 430.089: 1, 274.887: 1, nan: 1, 593.91099999999994: 1, 833.40600000000006: 1, 947.55200000000002: 1, 3.4700000000000002: 1, 859.42700000000002: 1, 375.83099999999996: 1, 577.28499999999997: 1, 720.48699999999997: 1, 1045.413: 1, 3.5329999999999999: 1, 92.075000000000003: 1, 1079.8499999999999: 1, 829.13300000000004: 1, 340.51599999999996: 1, 3.2239999999999998: 1, 103.995: 1, 356.59199999999998: 1, 740.76899999999989: 1, 1861.693: 1, 1464.885: 1, 548.45100000000002: 1, 1096.3789999999999: 1, 725.16199999999992: 1, 1616.5810000000001: 1, 250.49400000000003: 1, 14813.4: 1, nan: 1, 410.22900000000004: 1, 20.844999999999999: 1, 3700.2809999999999: 1, 976.85800000000006: 1, 1160.4690000000001: 1, 224.36500000000001: 1, 396.95599999999996: 1, 351.41500000000002: 1, 998.83699999999999: 1, nan: 1, 685.25100000000009: 1, 896.34199999999998: 1, 139.40000000000001: 1, 433.73800000000006: 1, 272.16200000000003: 1, 172.79900000000001: 1, 1041.672: 1, 1181.701: 1, 429.50800000000004: 1, 768.28100000000006: 1, 447.56599999999997: 1, 882.19799999999998: 1, 1507.491: 1, 3.4419999999999997: 1, 86.12700000000001: 1, 1589.806: 1, 38.356000000000002: 1, 120.63500000000001: 1, 162.233: 1, 101.23899999999999: 1, 21542.106: 1, 557.673: 1, 612.875: 1, 1712.6729999999998: 1, 0.72499999999999998: 1, 469.94900000000001: 1, 383.72699999999998: 1, 935.81399999999996: 1, 0.81700000000000006: 1, 744.94200000000001: 1, 134.95699999999999: 1, 102.88799999999999: 1, 184.667: 1, 884.46000000000004: 1, nan: 1, 1388.1660000000002: 1, 163.32299999999998: 1, 284.72500000000002: 1, 683.95399999999995: 1, 70.579999999999998: 1, nan: 1, 135.00899999999999: 1, 21110.630000000001: 1, 177.13900000000001: 1, 195.101: 1, 7089.8130000000001: 1, 1243.537: 1, 705.94299999999998: 1, 200.56099999999998: 1, 497.89300000000003: 1, 367.976: 1, 556.93299999999999: 1, 263.22800000000001: 1, 2.0920000000000001: 1, 354.00800000000004: 1, nan: 1, 1704.4029999999998: 1, 1.042: 1, 1086.0999999999999: 1, 264.32999999999998: 1, 242.55900000000003: 1, 1021.3680000000001: 1, 604.47699999999998: 1, 8.5: 1, 1361.8970000000002: 1, 287.351: 1, 2.4580000000000002: 1, 729.59800000000007: 1, 892.71399999999994: 1, 865.92100000000005: 1, 716.69100000000003: 1, 950.49199999999996: 1, 243.375: 1, 3.992: 1, 1132.077: 1, 0.68099999999999994: 1, 1.726: 1, 841.51600000000008: 1, 513.99199999999996: 1, 13765.758: 1, 1100.9549999999999: 1, 1346.3579999999999: 1, 2.714: 1, 1232.0730000000001: 1, 3.7539999999999996: 1, 218.40299999999999: 1, 876.202: 1, 310.31099999999998: 1, 107.925: 1, 748.74699999999996: 1, 258.15800000000002: 1, 4.1500000000000004: 1, 1187.5639999999999: 1, nan: 1, 683.23399999999992: 1, 365.41000000000003: 1, 777.93799999999999: 1, 2598.7179999999998: 1, nan: 1, 198.90299999999999: 1, 1313.816: 1, 584.98800000000006: 1, 150.59700000000001: 1, 493.91199999999998: 1, 101.56399999999999: 1, 1351.5050000000001: 1, 950.33100000000002: 1, 811.92700000000002: 1, 221.07499999999999: 1, 1331.2629999999999: 1, 200.55900000000003: 1, 441.36500000000001: 1, 609.08000000000004: 1, 4.5099999999999998: 1, 425.07499999999999: 1, nan: 1, 161.63200000000001: 1, 156.03100000000001: 1, 2.532: 1, 2.3409999999999997: 1, 295.67900000000003: 1, 1160.318: 1, 869.66300000000001: 1, nan: 1, 113.262: 1, 1243.133: 1, 506.46699999999998: 1, nan: 1, 410.86900000000003: 1, 325.26499999999999: 1, 121.26100000000001: 1, 235.465: 1, 327.86800000000005: 1, 480.92400000000004: 1, 1346.348: 1, 527.93499999999995: 1, 94.978999999999999: 1, 154.42700000000002: 1, 256.01400000000001: 1, 3.7489999999999997: 1, 1094.393: 1, 316.95799999999997: 1, nan: 1, 139.5: 1, 139.899: 1, 6612.6930000000002: 1, 2562.2350000000001: 1, 5706.2819999999992: 1, 325.68599999999998: 1, 7466.5230000000001: 1, 1039.769: 1, 1658.7879999999998: 1, 37.218000000000004: 1, 379.48099999999999: 1, 389.82599999999996: 1, 326.90800000000002: 1, 806.25999999999999: 1, 1438.989: 1, 779.66899999999998: 1, 237.483: 1, 940.46699999999998: 1, 38.756999999999998: 1, 95.665000000000006: 1, 1030.347: 1, 177.887: 1, 1010.225: 1, 238.767: 1, nan: 1, 1516.6960000000001: 1, 113.49299999999999: 1, 221.80900000000003: 1, 773.40499999999997: 1, 355.815: 1, 2456.5839999999998: 1, 236.488: 1, 104.044: 1, 348.79000000000002: 1, 1249.8319999999999: 1, 33.608000000000004: 1, 83.643999999999991: 1, 165.715: 1, 2409.029: 1, 305.88499999999999: 1, 2671.5640000000003: 1, 3046.4590000000003: 1, 291.35400000000004: 1, 346.28399999999999: 1, 1395.3489999999999: 1, 2325.4879999999998: 1, 477.04199999999997: 1, 589.28199999999993: 1, 184.29599999999999: 1, 135.642: 1, 0.79099999999999993: 1, 1347.1420000000001: 1, 1931.481: 1, 1370.424: 1, 658.82299999999998: 1, 281.46199999999999: 1, 540.87699999999995: 1, 290.77299999999997: 1, nan: 1, 351.94999999999999: 1, nan: 1, 140.852: 1, nan: 1, 313.69099999999997: 1, 809.37100000000009: 1, 401.29699999999997: 1, 369.93099999999998: 1, nan: 1, 2867.4380000000001: 1, 369.346: 1, 1183.76: 1, 1.6269999999999998: 1, 1228.328: 1, 1296.855: 1, 0.997: 1, 691.2410000000001: 1, 700.10800000000006: 1, 534.024: 1, 4949.9099999999999: 1, 235.864: 1, 456.55300000000005: 1, 473.68599999999998: 1, 126.93799999999999: 1, 1381.1760000000002: 1, 511.61000000000001: 1, nan: 1, 498.00900000000001: 1, 989.31600000000003: 1, 748.10699999999997: 1, 921.64100000000008: 1, 651.93399999999997: 1, nan: 1, nan: 1, 231.035: 1, 6464.1619999999994: 1, 169.24000000000001: 1, 1333.8: 1, nan: 1, 551.16300000000001: 1, 200.65900000000002: 1, nan: 1, 5.5629999999999997: 1, 242.048: 1, 546.57900000000006: 1, 2681.2820000000002: 1, 103.699: 1, 1529.0910000000001: 1, 672.97300000000007: 1, 5541.3850000000002: 1, 2239.5630000000001: 1, 403.42199999999997: 1, 4.702: 1, 786.06299999999999: 1, 359.745: 1, 352.75: 1, 322.79400000000004: 1, 1649.1489999999999: 1, 6.359: 1, 3152.752: 1, 3.4100000000000001: 1, 937.23899999999992: 1, 1468.586: 1, 864.59699999999998: 1, 827.60100000000011: 1, 291.411: 1, 1174.374: 1, 598.64400000000001: 1, 4746.3980000000001: 1, 705.24300000000005: 1, nan: 1, 491.55699999999996: 1, 894.78100000000006: 1, 1912.835: 1, 5354.3890000000001: 1, 1879.912: 1, 375.88: 1, 20688.005000000001: 1, 0.51300000000000001: 1, 2.2240000000000002: 1, nan: 1, 783.10699999999997: 1, 214.43299999999999: 1, 217.83199999999999: 1, 488.77300000000002: 1, 662.24000000000001: 1, 2402.7460000000001: 1, 242.03799999999998: 1, 49.18: 1, 1922.144: 1, 254.274: 1, 578.13599999999997: 1, 160.089: 1, 1368.665: 1, 1401.0810000000001: 1, nan: 1, nan: 1, 668.71500000000003: 1, 3.2969999999999997: 1, 274.67400000000004: 1, 962.71399999999994: 1, nan: 1, 717.10800000000006: 1, 193.53099999999998: 1, 267.00599999999997: 1, 272.41399999999999: 1, 4750.326: 1, 409.65199999999999: 1, 765.65300000000002: 1, 1.6880000000000002: 1, 123.971: 1, 78.397999999999996: 1, nan: 1, 939.79399999999998: 1, 121.06: 1, 395.33300000000003: 1, 532.59199999999998: 1, 799.78899999999999: 1, 363.86300000000006: 1, 237.80500000000001: 1, 394.75300000000004: 1, 659.33600000000001: 1, 81.372: 1, 87.298999999999992: 1, nan: 1, 6906.1899999999996: 1, 2.5419999999999998: 1, 8200.6740000000009: 1, 246.22299999999998: 1, 4994.9940000000006: 1, 785.52999999999997: 1, 1566.306: 1, 709.63100000000009: 1, 401.35199999999998: 1, 0.87400000000000011: 1, 153.202: 1, 509.75099999999998: 1, 2.633: 1, 1512.1900000000001: 1, 427.67500000000001: 1, nan: 1, nan: 1, 84.891000000000005: 1, 262.47300000000001: 1, 274.916: 1, 205.02500000000001: 1, 136.50399999999999: 1, 686.31600000000003: 1, 184.53: 1, 119.88799999999999: 1, 797.73100000000011: 1, 173.49200000000002: 1, 629.53199999999993: 1, 0.59099999999999997: 1, 992.20399999999995: 1, 179.55599999999998: 1, 394.96600000000001: 1, 683.44000000000005: 1, 1105.3510000000001: 1, 935.09500000000003: 1, 322.72399999999999: 1, 154.364: 1, 293.48700000000002: 1, 411.06999999999999: 1, 3.8080000000000003: 1, 319.81: 1, 98.927999999999997: 1, 2.8879999999999999: 1, 725.93499999999995: 1, 490.63499999999999: 1, 388.18800000000005: 1, nan: 1, 291.20999999999998: 1, 1464.9029999999998: 1, 63.936999999999998: 1, 350.38199999999995: 1, 747.05600000000004: 1, 4.9039999999999999: 1, 241.75900000000001: 1, 259.78800000000001: 1, 1497.5510000000002: 1, 237.16099999999997: 1, 716.57500000000005: 1, 357.66199999999998: 1, 82.126000000000005: 1, nan: 1, 3.4049999999999998: 1, 7.5460000000000003: 1, nan: 1, 737.66499999999996: 1, 477.68800000000005: 1, 853.76600000000008: 1, 9908.6309999999994: 1, 398.34399999999999: 1, 629.66399999999999: 1, nan: 1, 251.01300000000001: 1, 2.5180000000000002: 1, 1145.192: 1, 1767.0239999999999: 1, nan: 1, 323.50200000000001: 1, 247.36000000000001: 1, 97.578999999999994: 1, 131.62700000000001: 1, 282.81299999999999: 1, nan: 1, 233.58900000000003: 1, 923.15499999999997: 1, 645.64300000000003: 1, 2.2159999999999997: 1, nan: 1, 242.49799999999999: 1, 724.63300000000004: 1, 626.98599999999999: 1, nan: 1, 4898.6350000000002: 1, 276.07999999999998: 1, 993.78300000000002: 1, 1449.3989999999999: 1, nan: 1, 838.58100000000002: 1, 206.40000000000001: 1, 368.00400000000002: 1, 1823.499: 1, 505.15100000000001: 1, 2087.712: 1, 6519.6269999999995: 1, nan: 1, 36.799999999999997: 1, nan: 1, 227.89400000000001: 1, 355.34699999999998: 1, 166.91299999999998: 1, 106.15700000000001: 1, 868.31700000000001: 1, 6430.0799999999999: 1, 1540.567: 1, 334.52800000000002: 1, 1061.133: 1, 8242.7969999999987: 1, 294.54400000000004: 1, 483.99300000000005: 1, 1643.7570000000001: 1, 319.96899999999999: 1, 1122.848: 1, 263.90899999999999: 1, 7146.5869999999995: 1, 69.609999999999999: 1, 362.13900000000001: 1, 6775.1569999999992: 1, 1437.454: 1, 217.762: 1, 3.5189999999999997: 1, 244.01400000000001: 1, 427.48199999999997: 1, 698.96800000000007: 1, 587.61900000000003: 1, 1052.0170000000001: 1, 956.54999999999995: 1, 1594.2470000000001: 1, 637.92999999999995: 1, 666.03100000000006: 1, 196.63299999999998: 1, 102.652: 1, 707.07899999999995: 1, nan: 1, 567.37400000000002: 1, 1173.6320000000001: 1, 102.05200000000001: 1, 1033.085: 1, 124.544: 1, 222.55700000000002: 1, 124.751: 1, 1394.175: 1, 1337.6689999999999: 1, 858.95899999999995: 1, 214.63: 1, nan: 1, 1868.0250000000001: 1, 605.98500000000001: 1, 1771.579: 1, nan: 1, 13169.156000000001: 1, 1367.0620000000001: 1, 0.40899999999999997: 1, 155.58500000000001: 1, 162.34100000000001: 1, 305.142: 1, 1953.4349999999999: 1, nan: 1, nan: 1, 170.46299999999999: 1, 487.86400000000003: 1, 926.846: 1, 237.387: 1, 173.11599999999999: 1, 377.37800000000004: 1, 3.6210000000000004: 1, 665.01100000000008: 1, 153.42500000000001: 1, 266.40899999999999: 1, 505.20699999999999: 1, 31.791: 1, nan: 1, 1049.3210000000001: 1, 0.75700000000000001: 1, 267.85700000000003: 1, 397.94: 1, 608.76800000000003: 1, 469.52199999999999: 1, 236.85900000000001: 1, 10.526: 1, 1.4040000000000001: 1, 6589.4049999999997: 1, 263.83600000000001: 1, 1.98: 1, 1.9169999999999998: 1, 0.81499999999999995: 1, 9562.2739999999994: 1, 770.31799999999998: 1, 755.07299999999998: 1, 2.4209999999999998: 1, nan: 1, 231.72999999999999: 1, nan: 1, 159.29300000000001: 1, 2.8480000000000003: 1, 597.37900000000002: 1, 2.3199999999999998: 1, 1531.434: 1, 73.527000000000001: 1, 107.512: 1, 63.928999999999995: 1, 402.541: 1, 411.88699999999994: 1, 907.46199999999999: 1, 684.59899999999993: 1, 4773.6629999999996: 1, 1423.1400000000001: 1, 820.94899999999996: 1, 390.24099999999999: 1, nan: 1, 1240.3119999999999: 1, 10183.298000000001: 1, 1501.088: 1, 1902.838: 1, 18518.963: 1, 1697.9129999999998: 1, 799.02399999999989: 1, 1121.3310000000001: 1, 183.70099999999999: 1, 5.2370000000000001: 1, 197.52200000000002: 1, 514.38400000000001: 1, 598.82900000000006: 1, 725.12199999999996: 1, 218.27599999999998: 1, 1466.9849999999999: 1, nan: 1, 1330.6579999999999: 1, 767.22699999999998: 1, 4655.5870000000004: 1, 408.23400000000004: 1, 6138.2190000000001: 1, 220.34400000000002: 1, nan: 1, 257.04500000000002: 1, 650.05999999999995: 1, 208.46599999999998: 1, nan: 1, 300.608: 1, 233.428: 1, 445.19: 1, 14654.336000000001: 1, 1.3380000000000001: 1, 56.923999999999999: 1, 256.738: 1, 515.43200000000002: 1, 29.918000000000003: 1, 881.1389999999999: 1, 444.41900000000004: 1, 150.86199999999999: 1, 167.261: 1, 438.08099999999996: 1, 321.31999999999999: 1, 4878.1109999999999: 1, 1108.817: 1, 192.94900000000001: 1, 112.616: 1, 8322.405999999999: 1, 316.005: 1, 2207.1220000000003: 1, 1121.2809999999999: 1, 8261.143: 1, 2045.539: 1, 710.178: 1, 864.28399999999999: 1, 209.69499999999999: 1, 1008.319: 1, nan: 1, nan: 1, 137.65700000000001: 1, nan: 1, 235.40900000000002: 1, 147.58500000000001: 1, 2809.25: 1, 2.2730000000000001: 1, 313.59500000000003: 1, 118.53100000000001: 1, 91.707999999999998: 1, 578.30799999999999: 1, 922.553: 1, nan: 1, 545.59000000000003: 1, 314.53899999999999: 1, nan: 1, 468.13999999999999: 1, 3.8039999999999998: 1, 272.68900000000002: 1, 1136.6480000000001: 1, 103.432: 1, 1815.739: 1, 7235.241: 1, 414.46300000000002: 1, 2077.172: 1, nan: 1, 139.73699999999999: 1, nan: 1, 712.83199999999999: 1, 1308.4380000000001: 1, 557.38699999999994: 1, 494.92400000000004: 1, 299.20099999999996: 1, 381.40699999999998: 1, 141.14700000000002: 1, 0.88700000000000001: 1, 306.93200000000002: 1, 314.036: 1, 1427.8210000000001: 1, 1555.2760000000001: 1, 632.48699999999997: 1, 172.28799999999998: 1, 1354.2260000000001: 1, 136.64500000000001: 1, 2704.7790000000005: 1, 0.66299999999999992: 1, 130.124: 1, 961.47600000000011: 1, 2553.8379999999997: 1, 294.19900000000001: 1, 316.59800000000001: 1, 400.62900000000002: 1, 0.69599999999999995: 1, 256.53899999999999: 1, 982.56600000000003: 1, 1178.039: 1, 773.65699999999993: 1, 1378.2379999999998: 1, 518.98400000000004: 1, 1078.5599999999999: 1, 489.54199999999997: 1, 9.4160000000000004: 1, 268.10200000000003: 1, 282.81: 1, 296.26999999999998: 1, 3.7000000000000002: 1, 940.99699999999996: 1, 161.226: 1, 465.61199999999997: 1, 4068.627: 1, 90.077999999999989: 1, 925.74600000000009: 1, 1.6869999999999998: 1, 790.66100000000006: 1, 566.452: 1, 307.935: 1, nan: 1, nan: 1, 1642.8720000000001: 1, 84.540000000000006: 1, 196.66: 1, 583.61900000000003: 1, 606.53499999999997: 1, nan: 1, 665.94500000000005: 1, 383.202: 1, 881.29600000000005: 1, 184.34799999999998: 1, 1580.0160000000001: 1, 287.80400000000003: 1, 18112.432000000001: 1, 1205.2339999999999: 1, 357.92400000000004: 1, 10078.923000000001: 1, 838.90999999999997: 1, 581.87400000000002: 1, 6729.3690000000006: 1, 129.05600000000001: 1, 1051.683: 1, 1.4390000000000001: 1, 414.92800000000005: 1, 1125.318: 1, 1834.4489999999998: 1, 6666.3540000000003: 1, 1007.904: 1, 537.89699999999993: 1, nan: 1, 374.37099999999998: 1, 1177.6610000000001: 1, 411.81199999999995: 1, 50.710000000000001: 1, nan: 1, 272.93799999999999: 1, 106.20999999999999: 1, 2421.8000000000002: 1, 325.33699999999999: 1, 10.187999999999999: 1, 450.0: 1, 83.652000000000001: 1, 1.3580000000000001: 1, 196.59: 1, 228.07499999999999: 1, 114.075: 1, 845.92399999999998: 1, 1.766: 1, 164.392: 1, 857.82399999999996: 1, 794.28600000000006: 1, 1385.3929999999998: 1, 921.12399999999991: 1, 1.0349999999999999: 1, 412.08199999999999: 1, 228.79499999999999: 1, 810.60899999999992: 1, nan: 1, 1.619: 1, 608.24099999999999: 1, 823.26100000000008: 1, 935.40800000000002: 1, 339.70300000000003: 1, 247.71900000000002: 1, nan: 1, 1072.1320000000001: 1, 8627.3790000000008: 1, 56.541000000000004: 1, 42.192: 1, nan: 1, 543.072: 1, 1687.4489999999998: 1, 1001.487: 1, 1242.258: 1, 587.35400000000004: 1, 480.48900000000003: 1, 272.52600000000001: 1, 313.96600000000001: 1, nan: 1, 681.21199999999999: 1, nan: 1, 382.66300000000001: 1, 0.92000000000000004: 1, 484.98000000000002: 1, 303.06200000000001: 1, 1108.134: 1, 514.25800000000004: 1, 2767.4459999999999: 1, 5992.0839999999998: 1, 715.06600000000003: 1, 124.22200000000001: 1, 121.19499999999999: 1, 219.024: 1, 126.712: 1, 263.24200000000002: 1, 678.02800000000002: 1, 2.46: 1, 20042.076000000001: 1, nan: 1, 1187.9110000000001: 1, 177.49599999999998: 1, 107.81100000000001: 1, 113.863: 1, 163.458: 1, 409.85400000000004: 1, 1520.2929999999999: 1, 2703.2800000000002: 1, 180.42099999999999: 1, 323.27299999999997: 1, nan: 1, 1087.4829999999999: 1, 456.34399999999999: 1, 109.889: 1, 155.58000000000001: 1, 132.684: 1, 1121.875: 1, 211.892: 1, 218.291: 1, 491.74199999999996: 1, 234.85400000000001: 1, 296.14099999999996: 1, 142.88200000000001: 1, 1033.8869999999999: 1, 1001.2080000000001: 1, nan: 1, 365.66399999999999: 1, 2.823: 1, 1436.3629999999998: 1, 150.32599999999999: 1, 151.43299999999999: 1, nan: 1, 305.98900000000003: 1, 137.91299999999998: 1, 1.155: 1, 6313.7830000000004: 1, 9286.0239999999994: 1, 431.33199999999999: 1, nan: 1, 571.96100000000001: 1, 319.28399999999999: 1, 1.8319999999999999: 1, 525.63: 1, 298.15499999999997: 1, 3.7839999999999998: 1, 104.49299999999999: 1, 2370.9629999999997: 1, 1770.1010000000001: 1, 2.9380000000000002: 1, 186.63099999999997: 1, 653.73400000000004: 1, 880.89999999999998: 1, 0.998: 1, 323.60400000000004: 1, 862.56799999999998: 1, 145.59299999999999: 1, nan: 1, nan: 1, 0.89400000000000002: 1, 255.55500000000001: 1, nan: 1, 672.31700000000001: 1, 102.54299999999999: 1, 969.27399999999989: 1, 0.84799999999999998: 1, nan: 1, 125.024: 1, nan: 1, 649.995: 1, 893.35500000000002: 1, 590.875: 1, 293.38400000000001: 1, 1496.9960000000001: 1, nan: 1, nan: 1, 4.2860000000000005: 1, 980.84899999999993: 1, 11.970999999999998: 1, 158.989: 1, 220.12200000000001: 1, 139.352: 1, 833.10800000000006: 1, 316.33499999999998: 1, 4.2720000000000002: 1, 1530.7139999999999: 1, 8.3350000000000009: 1, 559.76900000000001: 1, 142.423: 1, 682.68600000000004: 1, 396.88: 1, 876.33000000000004: 1, 305.20299999999997: 1, 397.93300000000005: 1, 34.334000000000003: 1, 7277.3869999999997: 1, 471.52600000000001: 1, 4241.5320000000002: 1, 0.79200000000000004: 1, 2.3069999999999999: 1, nan: 1, 834.93499999999995: 1, nan: 1, nan: 1, 427.67199999999997: 1, 1268.777: 1, 924.62899999999991: 1, 4959.8400000000001: 1, 365.81300000000005: 1, 668.21500000000003: 1, 757.61300000000006: 1, 92.073999999999998: 1, 6030.9630000000006: 1, 582.15800000000002: 1, 64.055000000000007: 1, 16.584: 1, 2329.7779999999998: 1, 543.75400000000002: 1, 4832.7460000000001: 1, 11.434000000000001: 1, 773.64199999999994: 1, nan: 1, 672.69200000000001: 1, 129.124: 1, 245.477: 1, 2175.4570000000003: 1, 650.23800000000006: 1, 228.523: 1, 2.282: 1, 940.74000000000001: 1, 1881.6329999999998: 1, 1021.3380000000001: 1, 63.082000000000001: 1, 344.25400000000002: 1, 148.93100000000001: 1, 388.45300000000003: 1, 1438.7679999999998: 1, 6175.2849999999999: 1, 111.09100000000001: 1, 72.768000000000001: 1, 95.224999999999994: 1, 942.83800000000008: 1, nan: 1, 873.91199999999992: 1, 123.322: 1, 1009.215: 1, 517.005: 1, nan: 1, 105.709: 1, 123.867: 1, 127.169: 1, 87.687000000000012: 1, 722.19100000000003: 1, 1733.29: 1, 145.95400000000001: 1, 1216.1610000000001: 1, 501.86599999999999: 1, 2016.1029999999998: 1, 1014.664: 1, nan: 1, 152.70600000000002: 1, 1018.153: 1, 1461.2449999999999: 1, 0.78200000000000003: 1, 196.17099999999999: 1, 348.78300000000002: 1, 0.78000000000000003: 1, 917.09199999999998: 1, nan: 1, 236.15299999999999: 1, 153.428: 1, nan: 1, 191.78700000000001: 1, 1064.857: 1, 589.19900000000007: 1, 148.494: 1, 145.34799999999998: 1, 408.65800000000002: 1, 292.13099999999997: 1, 410.35300000000001: 1, 139.25899999999999: 1, 475.68800000000005: 1, 645.77699999999993: 1, 3.9279999999999999: 1, 158.291: 1, 59.542999999999999: 1, 405.60199999999998: 1, 1.8730000000000002: 1, 558.423: 1, 430.94400000000002: 1, 229.69299999999998: 1, 6552.8459999999995: 1, 432.25: 1, 49.328000000000003: 1, 262.80000000000001: 1, 304.75799999999998: 1, 357.233: 1, 7032.9009999999998: 1, 631.26599999999996: 1, 619.61400000000003: 1, 4099.8820000000005: 1, 1312.6559999999999: 1, nan: 1, 1660.251: 1, 804.70399999999995: 1, 0.53900000000000003: 1, 3.6970000000000001: 1, nan: 1, 332.13599999999997: 1, 2724.8559999999998: 1, 1504.229: 1, 1567.114: 1, 644.72400000000005: 1, 952.13999999999999: 1, 2.7949999999999999: 1, nan: 1, 114.337: 1, 6405.6280000000006: 1, 116.684: 1, 853.37899999999991: 1, 833.1389999999999: 1, 4.2270000000000003: 1, 207.35299999999998: 1, 593.22699999999998: 1, 527.36000000000001: 1, 1269.7: 1, 632.93399999999997: 1, 64.906999999999996: 1, 581.07500000000005: 1, 140.352: 1, 1089.028: 1, 5.6849999999999996: 1, 89.98299999999999: 1, 153.35599999999999: 1, 7651.8359999999993: 1, 1003.0880000000001: 1, 267.38799999999998: 1, 1050.203: 1, nan: 1, 284.59399999999999: 1, 142.69299999999998: 1, 789.10399999999993: 1, nan: 1, 1340.499: 1, 1.0129999999999999: 1, 147.78999999999999: 1, 378.51800000000003: 1, 420.03800000000001: 1, 221.125: 1, 226.30500000000001: 1, 570.12900000000002: 1, 347.93699999999995: 1, 695.01600000000008: 1, 5262.3069999999998: 1, 994.41699999999992: 1, 1117.0239999999999: 1, 2.4870000000000001: 1, 214.66099999999997: 1, 117.822: 1, 463.584: 1, 1174.623: 1, 136.18600000000001: 1, 5042.0879999999997: 1, 1670.2979999999998: 1, 97.057999999999993: 1, 148.50700000000001: 1, 1.2990000000000002: 1, 180.65799999999999: 1, 315.31700000000001: 1, 1608.9379999999999: 1, 250.50099999999998: 1, 145.49600000000001: 1, 6670.2130000000006: 1, 1205.0530000000001: 1, 996.56799999999998: 1, 440.79599999999999: 1, 716.96899999999994: 1, 121.485: 1, 2227.143: 1, 15753.379999999999: 1, 7918.9099999999999: 1, 513.65099999999995: 1, 6024.2049999999999: 1, 4976.9750000000004: 1, 3823.808: 1, 330.37400000000002: 1, 1493.5279999999998: 1, 324.06599999999997: 1, 502.71800000000002: 1, 240.727: 1, 734.80600000000004: 1, 464.94800000000004: 1, 85.772000000000006: 1, 1433.5450000000001: 1, nan: 1, 753.64399999999989: 1, 374.78800000000001: 1, 924.69399999999996: 1, 4.8389999999999995: 1, nan: 1, 217.24299999999999: 1, 358.31300000000005: 1, 603.74400000000003: 1, 622.03699999999992: 1, 126.99600000000001: 1, 1030.143: 1, 100.97499999999999: 1, nan: 1, 576.64999999999998: 1, 978.62800000000004: 1, 1675.1170000000002: 1, 826.68299999999999: 1, 1841.1479999999999: 1, 156.929: 1, 429.70499999999998: 1, 428.20099999999996: 1, 238.72: 1, 762.27800000000002: 1, 1525.9839999999999: 1, 231.792: 1, 3.2989999999999999: 1, nan: 1, 607.92099999999994: 1, 169.68200000000002: 1, 139.75200000000001: 1, 186.48099999999999: 1, 159.755: 1, 1607.4370000000001: 1, 457.86699999999996: 1, 2587.7779999999998: 1, 57.417000000000002: 1, 293.04500000000002: 1, 179.59999999999999: 1, 1758.2260000000001: 1, 225.62599999999998: 1, 395.22199999999998: 1, 1373.2190000000001: 1, 442.11400000000003: 1, 1.4969999999999999: 1, 656.13100000000009: 1, 275.12400000000002: 1, 501.59199999999998: 1, 186.55000000000001: 1, 774.60000000000002: 1, nan: 1, 383.28699999999998: 1, 389.50599999999997: 1, 2069.2150000000001: 1, 113.721: 1, 753.87800000000004: 1, 556.28399999999999: 1, 275.39599999999996: 1, 888.74000000000001: 1, nan: 1, nan: 1, 779.66399999999999: 1, 363.52699999999999: 1, 118.179: 1, 953.72800000000007: 1, 777.47500000000002: 1, 588.17200000000003: 1, nan: 1, 687.62899999999991: 1, 877.47699999999998: 1, 531.78899999999999: 1, 679.35500000000002: 1, 1868.3779999999999: 1, 1.048: 1, nan: 1, 328.291: 1, 4981.4540000000006: 1, 5.6399999999999997: 1, 104.67399999999999: 1, 729.52600000000007: 1, 260.71800000000002: 1, 392.58499999999998: 1, 619.87300000000005: 1, nan: 1, 538.14999999999998: 1, 1400.134: 1, 130.536: 1, 605.99800000000005: 1, 0.90099999999999991: 1, 794.32000000000005: 1, 140.251: 1, 315.26900000000001: 1, 1.9199999999999999: 1, 590.82400000000007: 1, 822.54300000000001: 1, 271.58600000000001: 1, 47.414999999999999: 1, 1108.806: 1, 4834.8990000000003: 1, 1523.1559999999999: 1, 1.47: 1, 339.91900000000004: 1, 121.184: 1, 442.52999999999997: 1, 410.10500000000002: 1, 295.32799999999997: 1, 984.279: 1, 244.64700000000002: 1, 419.81400000000002: 1, 337.65100000000001: 1, 1434.3889999999999: 1, 1848.7139999999999: 1, 185.477: 1, 541.00099999999998: 1, nan: 1, 90.424999999999997: 1, 5751.8919999999998: 1, 1932.1870000000001: 1, 200.10499999999999: 1, 1058.578: 1, 500.19599999999997: 1, 283.51299999999998: 1, 327.721: 1, 2133.9299999999998: 1, 413.24199999999996: 1, 7932.7449999999999: 1, 107.839: 1, 726.40800000000002: 1, 356.44300000000004: 1, 5147.3359999999993: 1, 601.48599999999999: 1, 323.46299999999997: 1, 2.9119999999999999: 1, 1282.604: 1, 237.91400000000002: 1, 7148.2190000000001: 1, 321.59899999999999: 1, 303.786: 1, 218.82299999999998: 1, 3101.6290000000004: 1, 849.19500000000005: 1, 238.11799999999999: 1, 713.74000000000001: 1, 198.386: 1, 461.93199999999996: 1, 641.48699999999997: 1, 1006.572: 1, 250.32900000000001: 1, 267.13099999999997: 1, 38.650999999999996: 1, 93.15100000000001: 1, 572.00599999999997: 1, 326.17900000000003: 1, 1028.098: 1, 240.81999999999999: 1, nan: 1, 2.6739999999999999: 1, 127.67700000000001: 1, 107.854: 1, nan: 1, 292.72399999999999: 1, nan: 1, nan: 1, 391.92099999999999: 1, 114.40799999999999: 1, nan: 1, 525.60500000000002: 1, 1.6259999999999999: 1, 253.41800000000001: 1, 1261.2670000000001: 1, 140.18700000000001: 1, 147.416: 1, 548.15099999999995: 1, 312.78899999999999: 1, 508.38999999999999: 1, 118.07299999999999: 1, 3.5880000000000001: 1, 229.489: 1, 187.84299999999999: 1, 2317.9499999999998: 1, nan: 1, 221.68799999999999: 1, 334.23800000000006: 1, 2.6860000000000004: 1, 2.5920000000000001: 1, 0.73599999999999999: 1, 1304.1099999999999: 1, 5988.5530000000008: 1, 496.30500000000001: 1, 2349.989: 1, 273.98000000000002: 1, 390.81900000000002: 1, 96.842999999999989: 1, 30.544: 1, 384.16500000000002: 1, 301.24799999999999: 1, 371.45599999999996: 1, 864.54999999999995: 1, 145.381: 1, 7.8929999999999998: 1, 348.43000000000001: 1, 392.05000000000001: 1, 431.67099999999999: 1, nan: 1, 1038.818: 1, nan: 1, 258.84800000000001: 1, 663.49600000000009: 1, 2018.895: 1, 812.45299999999997: 1, 787.06600000000003: 1, 64.22399999999999: 1, 146.917: 1, nan: 1, 212.87900000000002: 1, 487.64300000000003: 1, 354.91800000000001: 1, 587.20400000000006: 1, 633.495: 1, 138.87: 1, 290.67500000000001: 1, 116.68600000000001: 1, 150.351: 1, 430.26099999999997: 1, nan: 1, 698.14499999999998: 1, 2040.729: 1, 8045.5769999999993: 1, 1057.1320000000001: 1, nan: 1, 1552.223: 1, 300.584: 1, 11639.275: 1, 438.10900000000004: 1, nan: 1, 3.8969999999999998: 1, nan: 1, 4611.3859999999995: 1, 1012.932: 1, 4.2480000000000002: 1, 213.74700000000001: 1, 766.12300000000005: 1, nan: 1, 0.48200000000000004: 1, nan: 1, 9.8840000000000003: 1, nan: 1, 754.66800000000001: 1, 1325.1679999999999: 1, 902.02100000000007: 1, 226.69099999999997: 1, 486.31999999999999: 1, 226.77799999999999: 1, 854.47199999999998: 1, 13.981: 1, 14857.045: 1, 1236.4180000000001: 1, 593.13999999999999: 1, 473.464: 1, 1.171: 1, 1253.6500000000001: 1, 541.74699999999996: 1, nan: 1, 381.98599999999999: 1, 165.01400000000001: 1, 373.58699999999999: 1, nan: 1, 2103.893: 1, 678.39300000000003: 1, 1869.527: 1, 137.48599999999999: 1, 5564.0360000000001: 1, 810.13999999999999: 1, nan: 1, 1772.0610000000001: 1, 4146.2640000000001: 1, 2654.5890000000004: 1, 234.59700000000001: 1, 2.8260000000000001: 1, 812.92700000000002: 1, nan: 1, 253.80900000000003: 1, 589.24000000000001: 1, 1.915: 1, 381.66399999999999: 1, nan: 1, 328.12099999999998: 1, 2301.2779999999998: 1, 241.84400000000002: 1, 356.92599999999999: 1, 1964.1770000000001: 1, 60.027999999999999: 1, 101.95700000000001: 1, 119.134: 1, 410.04500000000002: 1, nan: 1, 3.6120000000000001: 1, 686.21399999999994: 1, 161.715: 1, 412.36800000000005: 1, 4.7309999999999999: 1, 2.738: 1, 125.035: 1, 782.26100000000008: 1, 122.604: 1, 248.67700000000002: 1, 7.4879999999999995: 1, 564.14599999999996: 1, 429.24300000000005: 1, 698.4860000000001: 1, nan: 1, 6.4000000000000004: 1, 236.149: 1, 243.92400000000001: 1, 370.0: 1, 1057.117: 1, 433.59699999999998: 1, 1.5319999999999998: 1, 153.84399999999999: 1, nan: 1, 448.18000000000001: 1, 849.98300000000006: 1, nan: 1, 94.302000000000007: 1, 167.74700000000001: 1, 146.476: 1, nan: 1, 7507.2340000000004: 1, nan: 1, 999.32600000000002: 1, 287.34800000000001: 1, 407.64999999999998: 1, 386.07900000000001: 1, 778.37600000000009: 1, 96.352999999999994: 1, 269.06900000000002: 1, 242.33099999999999: 1, 140.52799999999999: 1, 118.14: 1, 298.61799999999999: 1, 238.80599999999998: 1, 729.31500000000005: 1, 206.416: 1, 498.97699999999998: 1, 1440.933: 1, 448.39099999999996: 1, 265.97199999999998: 1, 3.8310000000000004: 1, 646.40499999999997: 1, 1603.835: 1, 1.6059999999999999: 1, 317.88299999999998: 1, 271.16900000000004: 1, 1.101: 1, 439.423: 1, nan: 1, 1410.9229999999998: 1, 1.4709999999999999: 1, 3.8100000000000001: 1, 2.5459999999999998: 1, 21092.436000000002: 1, 735.83600000000001: 1, nan: 1, 381.22800000000001: 1, 286.69999999999999: 1, 316.113: 1, 695.99899999999991: 1, 329.50599999999997: 1, 593.81799999999998: 1, 3.4139999999999997: 1, 193.61599999999999: 1, 285.29300000000001: 1, 6125.3699999999999: 1, 297.65199999999999: 1, 160.24600000000001: 1, 460.05099999999999: 1, 1141.4680000000001: 1, 6.7999999999999998: 1, 674.26999999999998: 1, 262.37400000000002: 1, 1057.373: 1, 679.06799999999998: 1, 740.66399999999999: 1, 1250.069: 1, 182.68000000000001: 1, 4829.3370000000004: 1, 6.0640000000000001: 1, 7500.3859999999995: 1, 1065.259: 1, 161.072: 1, nan: 1, 693.60199999999998: 1, 504.36300000000006: 1, 2010.3489999999999: 1, 3855.9320000000002: 1, 1229.547: 1, 1735.54: 1, nan: 1, nan: 1, 561.84900000000005: 1, 713.995: 1, 221.62799999999999: 1, 314.00599999999997: 1, 426.50900000000001: 1, 235.58599999999998: 1, nan: 1, 3.5310000000000001: 1, 1044.431: 1, 910.92200000000003: 1, 274.02199999999999: 1, nan: 1, 662.05600000000004: 1, 611.98400000000004: 1, 1106.414: 1, nan: 1, 1207.8: 1, 214.90400000000002: 1, 1826.9470000000001: 1, 1693.9000000000001: 1, 1579.8139999999999: 1, 706.87399999999991: 1, 521.72000000000003: 1, 144.381: 1, 63.405000000000001: 1, 453.846: 1, 1142.867: 1, 1.548: 1, nan: 1, 570.97400000000005: 1, nan: 1, 115.738: 1, nan: 1, 962.91100000000006: 1, 974.452: 1, 514.07600000000002: 1, 332.56800000000004: 1, 1281.7550000000001: 1, 61.542999999999999: 1, 3211.7779999999998: 1, 1710.6379999999999: 1, 19556.93: 1, 260.714: 1, nan: 1, 121.425: 1, 8344.3359999999993: 1, 316.36700000000002: 1, nan: 1, 32.799999999999997: 1, 438.80599999999998: 1, 288.45599999999996: 1, 767.29100000000005: 1, 137.49000000000001: 1, 1660.1170000000002: 1, 954.64199999999994: 1, 333.98099999999999: 1, 100.98700000000001: 1, 126.039: 1, 1.9580000000000002: 1, 98.142999999999986: 1, 464.30400000000003: 1, 1010.9450000000001: 1, 826.928: 1, 553.31799999999998: 1, 144.08199999999999: 1, 337.27999999999997: 1, 811.05399999999997: 1, 111.94: 1, nan: 1, 164.18200000000002: 1, 0.50600000000000001: 1, nan: 1, 193.85900000000001: 1, 140.08799999999999: 1, 1064.453: 1, 5052.9960000000001: 1, 243.07900000000001: 1, 94.436000000000007: 1, nan: 1, 260.91399999999999: 1, 504.51499999999999: 1, 1417.5429999999999: 1, 330.04000000000002: 1, nan: 1, 242.35499999999999: 1, 220.55099999999999: 1, 321.75900000000001: 1, 520.79399999999998: 1, 98.685000000000002: 1, 1234.329: 1, 188.935: 1, 1210.296: 1, 221.91200000000001: 1, 2.2810000000000001: 1, nan: 1, 540.38900000000001: 1, 277.613: 1, 368.19599999999997: 1, 2.552: 1, 5986.1899999999996: 1, 296.10500000000002: 1, nan: 1, 774.27699999999993: 1, 3.1210000000000004: 1, 401.89999999999998: 1, 98.137999999999991: 1, 1428.944: 1, 144.721: 1, 1804.194: 1, 83.103999999999999: 1, 682.00699999999995: 1, 405.39800000000002: 1, 515.11599999999999: 1, 76.619: 1, 4.9000000000000004: 1, 292.97300000000001: 1, nan: 1, 2.4750000000000001: 1, 605.01599999999996: 1, 1674.3629999999998: 1, nan: 1, 129.78: 1, 7.782: 1, 625.71000000000004: 1, 1460.1610000000001: 1, 4.819: 1, 246.49799999999999: 1, nan: 1, 481.47900000000004: 1, 353.84100000000001: 1, 3.4539999999999997: 1, 821.98800000000006: 1, 296.24000000000001: 1, 8259.9430000000011: 1, 1.425: 1, 611.44600000000003: 1, 1052.788: 1, 1103.1980000000001: 1, 1200.03: 1, 1.0649999999999999: 1, 410.23400000000004: 1, 1926.0940000000001: 1, nan: 1, 7210.8990000000003: 1, nan: 1, 7277.9880000000003: 1, 1097.6700000000001: 1, 10.204000000000001: 1, 753.56500000000005: 1, 429.55199999999996: 1, 271.178: 1, nan: 1, 37.240000000000002: 1, 1767.9470000000001: 1, 661.47399999999993: 1, 391.976: 1, nan: 1, nan: 1, 111.751: 1, 262.78500000000003: 1, 132.48099999999999: 1, 122.73200000000001: 1, nan: 1, 2.423: 1, 1742.925: 1, 207.71799999999999: 1, 2489.1210000000001: 1, 384.44499999999999: 1, 935.31100000000004: 1, 561.33800000000008: 1, 601.10300000000007: 1, 145.79399999999998: 1, 288.36900000000003: 1, 354.76800000000003: 1, 222.70099999999999: 1, 5.9000000000000004: 1, 153.07499999999999: 1, 412.61099999999999: 1, 397.71199999999999: 1, 727.29700000000003: 1, 2268.8429999999998: 1, 843.74899999999991: 1, 342.25699999999995: 1, 916.23500000000001: 1, 378.43400000000003: 1, 1269.521: 1, 141.31100000000001: 1, 738.93499999999995: 1, 766.23800000000006: 1, 1282.278: 1, nan: 1, 3.2430000000000003: 1, 581.85900000000004: 1, 252.78299999999999: 1, 244.84599999999998: 1, 1158.9939999999999: 1, 669.72199999999998: 1, 127.89200000000001: 1, 1322.229: 1, nan: 1, 2201.2979999999998: 1, nan: 1, nan: 1, 626.59800000000007: 1, 1606.7550000000001: 1, 108.28200000000001: 1, nan: 1, 209.41999999999999: 1, 9788.6890000000003: 1, 974.11500000000001: 1, 1117.5630000000001: 1, 4451.3299999999999: 1, 1255.7269999999999: 1, nan: 1, nan: 1, nan: 1, 248.578: 1, 402.71499999999997: 1, 297.51299999999998: 1, 112.92299999999999: 1, 0.92400000000000004: 1, 0.85799999999999998: 1, 7827.7440000000006: 1, 373.03800000000001: 1, 98.234999999999999: 1, 155.24100000000001: 1, 430.56300000000005: 1, 157.215: 1, 143.221: 1, 133.82499999999999: 1, 7871.2119999999995: 1, 288.26400000000001: 1, 130.959: 1, 1.1879999999999999: 1, 244.97400000000002: 1, nan: 1, 431.02199999999999: 1, 259.815: 1, 3.8569999999999998: 1, nan: 1, 2.8169999999999997: 1, 135.88299999999998: 1, 260.608: 1, 354.95599999999996: 1, 218.702: 1, 15812.723999999998: 1, 360.63099999999997: 1, nan: 1, 429.87900000000002: 1, 267.83699999999999: 1, 4932.7570000000005: 1, 230.88: 1, 1027.8710000000001: 1, nan: 1, 400.71600000000001: 1, 100.26000000000001: 1, 157.279: 1, 1867.431: 1, 381.78199999999998: 1, 1.2609999999999999: 1, 735.45299999999997: 1, 952.71500000000003: 1, 533.88099999999997: 1, 322.44: 1, nan: 1, nan: 1, 685.18700000000001: 1, 215.917: 1, nan: 1, 631.048: 1, 582.34000000000003: 1, 2.883: 1, 788.58899999999994: 1, 410.74800000000005: 1, 12336.290000000001: 1, 1104.857: 1, nan: 1, 296.83299999999997: 1, 238.07400000000001: 1, 1444.4449999999999: 1, 670.53199999999993: 1, 553.58199999999999: 1, 1220.51: 1, 1162.5919999999999: 1, 1214.4100000000001: 1, 410.89300000000003: 1, nan: 1, 248.10900000000001: 1, 942.97500000000002: 1, 258.17599999999999: 1, 5856.5950000000003: 1, 1765.8729999999998: 1, 7693.1260000000002: 1, 241.87299999999999: 1, 362.10000000000002: 1, 363.01900000000001: 1, 345.58699999999999: 1, 570.89099999999996: 1, 462.24800000000005: 1, 508.64499999999998: 1, 4804.5790000000006: 1, 10070.219999999999: 1, 385.84199999999998: 1, nan: 1, 2448.0929999999998: 1, 1002.0039999999999: 1, 817.05399999999997: 1, 159.01499999999999: 1, 0.68700000000000006: 1, 1079.4560000000001: 1, 396.38699999999994: 1, 1889.2850000000001: 1, 922.39699999999993: 1, 11168.629999999999: 1, 1035.519: 1, 7159.3669999999993: 1, 561.70000000000005: 1, 147.376: 1, 339.02800000000002: 1, 3908.4850000000001: 1, 279.40300000000002: 1, 2527.239: 1, 2.028: 1, 329.83600000000001: 1, 1174.827: 1, 2118.4290000000001: 1, 185.358: 1, 573.18399999999997: 1, 953.78600000000006: 1, 147.69299999999998: 1, 250.81: 1, 1339.3900000000001: 1, 17785.735000000001: 1, 950.27399999999989: 1, 1800.576: 1, nan: 1, 4614.1990000000005: 1, nan: 1, 1107.3889999999999: 1, 501.79699999999997: 1, 330.08699999999999: 1, 5054.7420000000002: 1, nan: 1, 726.09699999999998: 1, 9709.7749999999996: 1, 151.244: 1, 252.785: 1, 1033.4970000000001: 1, 348.44599999999997: 1, 1.335: 1, nan: 1, 430.27199999999999: 1, 394.73599999999999: 1, 129.184: 1, 89.067999999999998: 1, 954.6160000000001: 1, 1.1179999999999999: 1, nan: 1, 413.47399999999999: 1, 638.30700000000002: 1, nan: 1, 1993.424: 1, 711.70600000000002: 1, 1240.0430000000001: 1, 963.35100000000011: 1, 1299.345: 1, 178.077: 1, nan: 1, 833.84699999999998: 1, 321.34399999999999: 1, 332.839: 1, nan: 1, nan: 1, 807.30899999999997: 1, 107.54700000000001: 1, nan: 1, 127.70299999999999: 1, 842.14499999999998: 1, 854.49300000000005: 1, 378.80599999999998: 1, 458.18199999999996: 1, 2.431: 1, 1034.664: 1, 119.875: 1, 0.96700000000000008: 1, 152.40600000000001: 1, 1681.1559999999999: 1, nan: 1, nan: 1, 867.43100000000004: 1, 719.88199999999995: 1, 1001.319: 1, 228.22900000000001: 1, 145.458: 1, 1084.509: 1, 236.358: 1, 1525.1589999999999: 1, 1030.9739999999999: 1, 1139.624: 1, 20424.883000000002: 1, 247.63499999999999: 1, 376.87400000000002: 1, 1.597: 1, 645.57299999999998: 1, 948.78999999999996: 1, 474.24099999999999: 1, 177.74000000000001: 1, 589.32900000000006: 1, 1.7209999999999999: 1, 826.90300000000002: 1, 352.60300000000001: 1, 548.24599999999998: 1, 1209.2329999999999: 1, 33.753: 1, 0.92200000000000004: 1, 647.77699999999993: 1, 1112.5260000000001: 1, 386.48800000000006: 1, nan: 1, 106.15299999999999: 1, 881.69000000000005: 1, 256.464: 1, 541.68100000000004: 1, 489.90699999999998: 1, 627.53800000000001: 1, 68.760000000000005: 1, 1590.9829999999999: 1, 3.6180000000000003: 1, 729.83000000000004: 1, 790.83000000000004: 1, 130.608: 1, 882.91199999999992: 1, 539.173: 1, 4259.0290000000005: 1, 3.016: 1, nan: 1, 908.20399999999995: 1, 1353.4059999999999: 1, 127.73100000000001: 1, 1531.0650000000001: 1, 234.042: 1, 677.70699999999999: 1, 1480.5599999999999: 1, 338.04199999999997: 1, nan: 1, 1026.4080000000001: 1, 4.665: 1, 850.25999999999999: 1, 103.236: 1, nan: 1, 1093.4639999999999: 1, 934.10000000000002: 1, 249.476: 1, 264.51099999999997: 1, 2139.4670000000001: 1, 585.28399999999999: 1, nan: 1, 1852.7379999999998: 1, 621.84800000000007: 1, 111.184: 1, 835.29100000000005: 1, 4588.3149999999996: 1, 694.40999999999997: 1, 80.25: 1, 6560.2430000000004: 1, 100.66500000000001: 1, 912.86899999999991: 1, 231.91: 1, 420.17699999999996: 1, 1.913: 1, 266.56999999999999: 1, 2129.5720000000001: 1, 3259.884: 1, 2043.0989999999999: 1, 514.52199999999993: 1, 721.72399999999993: 1, 542.46400000000006: 1, 325.22700000000003: 1, 319.541: 1, 843.13: 1, 8025.625: 1, 456.30800000000005: 1, 931.16800000000001: 1, 1067.1780000000001: 1, nan: 1, 269.23900000000003: 1, 132.30600000000001: 1, 131.70500000000001: 1, 1626.7879999999998: 1, 256.56999999999999: 1, 817.85399999999993: 1, 6811.2719999999999: 1, 563.25999999999999: 1, nan: 1, 3.9710000000000001: 1, 137.30000000000001: 1, 1674.095: 1, 94.834999999999994: 1, 39.626999999999995: 1, 82.797000000000011: 1, 938.89300000000003: 1, nan: 1, 133.61099999999999: 1, 472.38199999999995: 1, 6528.0360000000001: 1, 57.361999999999995: 1, 127.29700000000001: 1, 120.32700000000001: 1, 2.1830000000000003: 1, nan: 1, 328.10699999999997: 1, 851.88300000000004: 1, 1083.595: 1, 294.62900000000002: 1, 220.93400000000003: 1, 296.66700000000003: 1, 107.655: 1, 70.956999999999994: 1, 845.80100000000004: 1, 395.97199999999998: 1, 201.00700000000001: 1, 1412.8870000000002: 1, 96.712000000000003: 1, 113.66200000000001: 1, 362.88300000000004: 1, 4.5: 1, 121.181: 1, 116.98299999999999: 1, 0.878: 1, 1141.133: 1, 219.87799999999999: 1, 7045.2849999999999: 1, 1229.854: 1, 344.83999999999997: 1, 971.38199999999995: 1, nan: 1, 255.80200000000002: 1, 227.91299999999998: 1, 857.44399999999996: 1, 2.2490000000000001: 1, 598.24199999999996: 1, nan: 1, 86.060000000000002: 1, 194.68200000000002: 1, 105.84700000000001: 1, 253.875: 1, 131.274: 1, 274.72300000000001: 1, 1917.0129999999999: 1, nan: 1, 320.72800000000001: 1, 5137.4099999999999: 1, 443.75300000000004: 1, 838.63499999999999: 1, 279.63200000000001: 1, 1150.011: 1, 18964.947: 1, 1132.5799999999999: 1, 1.8740000000000001: 1, nan: 1, 1981.74: 1, 0.752: 1, 1016.289: 1, 171.98599999999999: 1, 1.9259999999999999: 1, 619.32000000000005: 1, 533.61099999999999: 1, 347.02099999999996: 1, 442.81999999999999: 1, 774.36000000000001: 1, 243.541: 1, 601.56200000000001: 1, 1433.3599999999999: 1, 376.24199999999996: 1, 1013.275: 1, 2.4630000000000001: 1, 7.6620000000000008: 1, 339.767: 1, 865.95500000000004: 1, nan: 1, 565.18700000000001: 1, nan: 1, 209.63499999999999: 1, 6557.3040000000001: 1, nan: 1, 2544.259: 1, 3.5669999999999997: 1, 850.60100000000011: 1, 5.0919999999999996: 1, 1456.0239999999999: 1, 280.63499999999999: 1, 576.649: 1, 355.03399999999999: 1, 503.04699999999997: 1, 4980.8310000000001: 1, 496.95800000000003: 1, 1837.7349999999999: 1, 135.00999999999999: 1, 1150.886: 1, 858.255: 1, 562.30499999999995: 1, 4475.9129999999996: 1, nan: 1, 0.67099999999999993: 1, nan: 1, 887.27600000000007: 1, 2.0630000000000002: 1, 673.33000000000004: 1, 34.646000000000001: 1, 8.5999999999999996: 1, 400.62400000000002: 1, 855.56799999999998: 1, 708.93600000000004: 1, 427.47699999999998: 1, 220.87099999999998: 1, 258.76999999999998: 1, nan: 1, 2247.6199999999999: 1, 1596.4260000000002: 1, 7212.2290000000003: 1, 467.96699999999998: 1, 102.649: 1, 271.84300000000002: 1, 1036.3610000000001: 1, 226.94: 1, 10240.574000000001: 1, nan: 1, 542.45400000000006: 1, nan: 1, 247.239: 1, 188.63800000000001: 1, 1599.0220000000002: 1, 1094.604: 1, 414.43599999999998: 1, 1251.519: 1, 256.83499999999998: 1, 896.09100000000001: 1, 64.366: 1, 191.55099999999999: 1, 1378.8889999999999: 1, 1327.0929999999998: 1, 510.60900000000004: 1, 801.43399999999997: 1, 150.68799999999999: 1, 731.68600000000004: 1, 234.27599999999998: 1, 206.072: 1, 994.52399999999989: 1, 1744.4960000000001: 1, 286.02600000000001: 1, nan: 1, 1413.4849999999999: 1, nan: 1, 248.107: 1, nan: 1, 973.42200000000003: 1, 4.4060000000000006: 1, 723.87: 1, nan: 1, 396.57099999999997: 1, 120.185: 1, 1167.867: 1, 1097.463: 1, 8875.2950000000001: 1, 4.4020000000000001: 1, 452.83300000000003: 1, 173.82599999999999: 1, 0.67000000000000004: 1, 84.680000000000007: 1, 108.711: 1, 480.28100000000001: 1, 340.233: 1, 134.90200000000002: 1, nan: 1, 239.11900000000003: 1, 1385.9520000000002: 1, 285.363: 1, 322.161: 1, 610.64199999999994: 1, 1.4669999999999999: 1, 1.7909999999999999: 1, 84.742999999999995: 1, 85.897000000000006: 1, 420.70599999999996: 1, nan: 1, 755.13100000000009: 1, nan: 1, 621.86800000000005: 1, 507.81099999999998: 1, 878.33800000000008: 1, 6950.1880000000001: 1, 0.63800000000000001: 1, 111.76100000000001: 1, 188.78599999999997: 1, 2901.5999999999999: 1, 318.06700000000001: 1, 492.95300000000003: 1, 147.80799999999999: 1, 244.20699999999999: 1, 131.77000000000001: 1, 209.38: 1, 1384.665: 1, 1.8940000000000001: 1, 263.322: 1, 118.84999999999999: 1, 1420.067: 1, 335.89699999999999: 1, 118.73200000000001: 1, 336.29599999999999: 1, 7712.0: 1, 401.97399999999999: 1, 1034.261: 1, nan: 1, 1.4530000000000001: 1, 1.071: 1, nan: 1, 150.20400000000001: 1, 723.40600000000006: 1, 2052.2849999999999: 1, 760.93399999999997: 1, 422.95099999999996: 1, 456.31099999999998: 1, 1.3799999999999999: 1, 564.64300000000003: 1, 3.2389999999999999: 1, 517.04099999999994: 1, 618.09199999999998: 1, 370.61300000000006: 1, 39.247: 1, 1164.6210000000001: 1, 0.65200000000000002: 1, 2098.779: 1, 733.26699999999994: 1, 264.53300000000002: 1, 1169.6099999999999: 1, 103.765: 1, 441.21300000000002: 1, nan: 1, 1987.8110000000001: 1, 946.33300000000008: 1, 914.70500000000004: 1, 963.13100000000009: 1, 774.87800000000004: 1, 6.8670000000000009: 1, 439.67599999999999: 1, 173.87: 1, 568.221: 1, 398.42500000000001: 1, 929.33199999999999: 1, 1299.6880000000001: 1, 1734.0250000000001: 1, 0.92500000000000004: 1, 4.9500000000000002: 1, 1142.7819999999999: 1, 112.21799999999999: 1, 90.552000000000007: 1, nan: 1, 324.69799999999998: 1, 1490.1679999999999: 1, 212.86700000000002: 1, 456.16699999999997: 1, 2.105: 1, 3.9430000000000001: 1, 6.4079999999999995: 1, 1271.3679999999999: 1, 31.114000000000001: 1, 7.5: 1, 184.71900000000002: 1, 590.79399999999998: 1, 384.63599999999997: 1, 145.738: 1, 728.36300000000006: 1, 1006.965: 1, 459.29699999999997: 1, 4900.9949999999999: 1, 25.589000000000002: 1, 1632.8139999999999: 1, 143.774: 1, 469.57300000000004: 1, 865.32600000000002: 1, 979.11500000000001: 1, 6167.9869999999992: 1, nan: 1, 551.35599999999999: 1, 932.72199999999998: 1, 643.02499999999998: 1, 475.78800000000001: 1, 625.98400000000004: 1, 364.22800000000001: 1, 738.87300000000005: 1, 1998.451: 1, 2120.3969999999999: 1, 4883.1120000000001: 1, 4835.4399999999996: 1, 5.7229999999999999: 1, 808.7639999999999: 1, 758.46800000000007: 1, 99.767999999999986: 1, 1554.2629999999999: 1, 1015.715: 1, 1343.2139999999999: 1, 188.96700000000001: 1, 167.01300000000001: 1, 7564.2209999999995: 1, 417.55699999999996: 1, 115.23: 1, 1926.9479999999999: 1, 641.74199999999996: 1, 154.43899999999999: 1, nan: 1, 15975.108999999999: 1, 650.49699999999996: 1, 241.32499999999999: 1, 62.518999999999998: 1, 5861.8230000000003: 1, 307.96199999999999: 1, 199.96400000000003: 1, nan: 1, nan: 1, 168.91099999999997: 1, nan: 1, 421.62199999999996: 1, 856.05799999999999: 1, 1273.99: 1, 444.21199999999999: 1, 137.43600000000001: 1, 115.34: 1, 1715.309: 1, 454.82999999999998: 1, 306.916: 1, 229.83500000000001: 1, 4695.7060000000001: 1, 2273.2110000000002: 1, 7190.8339999999998: 1, 1886.3979999999999: 1, 640.87900000000002: 1, 264.75400000000002: 1, 5961.7460000000001: 1, 1625.0050000000001: 1, 0.436: 1, 98.167999999999992: 1, 0.64800000000000002: 1, 1430.7809999999999: 1, 445.72500000000002: 1, 786.76699999999994: 1, 297.69799999999998: 1, nan: 1, 64.328999999999994: 1, nan: 1, 103.381: 1, 7045.4119999999994: 1, 213.815: 1, 130.79399999999998: 1, 970.36199999999997: 1, 6909.4709999999995: 1, 878.46300000000008: 1, nan: 1, 1015.008: 1, 186.703: 1, 1.9730000000000001: 1, nan: 1, 953.947: 1, 2255.3579999999997: 1, 637.69399999999996: 1, 993.45000000000005: 1, 0.54700000000000004: 1, 1972.7629999999999: 1, 694.15800000000002: 1, 215.137: 1, nan: 1, 289.31700000000001: 1, 1953.5220000000002: 1, 110.315: 1, 260.86599999999999: 1, 19504.388999999999: 1, 341.27199999999999: 1, nan: 1, 619.42999999999995: 1, 1749.2420000000002: 1, 219.00799999999998: 1, 2.536: 1, 1014.638: 1, 180.97: 1, 190.024: 1, 287.024: 1, 242.767: 1, 926.21699999999998: 1, 568.25800000000004: 1, 3.1539999999999999: 1, 176.56799999999998: 1, 479.02099999999996: 1, 1329.6279999999999: 1, 778.46500000000003: 1, 1174.0519999999999: 1, nan: 1, 1037.0519999999999: 1, nan: 1, 144.434: 1, 0.873: 1, 1565.1800000000001: 1, 1182.2619999999999: 1, 859.25600000000009: 1, 447.19099999999997: 1, 206.87599999999998: 1, 1615.0510000000002: 1, 794.75: 1, 1692.701: 1, 1052.346: 1, 5436.9230000000007: 1, 271.46199999999999: 1, 784.53600000000006: 1, 252.80000000000001: 1, 359.15899999999999: 1, 280.428: 1, 947.94100000000003: 1, 1014.2339999999999: 1, 1366.55: 1, 5022.6059999999998: 1, 175.34799999999998: 1, 2292.8560000000002: 1, 2390.52: 1, 135.72499999999999: 1, 735.63699999999994: 1, 209.21099999999998: 1, 550.61500000000001: 1, 200.25599999999997: 1, 325.15199999999999: 1, 111.32700000000001: 1, nan: 1, 229.935: 1, 4711.2510000000002: 1, 655.01999999999998: 1, nan: 1, 76.063000000000002: 1, 308.04200000000003: 1, 224.87099999999998: 1, 3.5789999999999997: 1, 1161.1689999999999: 1, 129.66800000000001: 1, 137.06700000000001: 1, 30.684999999999999: 1, nan: 1, 135.48099999999999: 1, 100.90100000000001: 1, 537.06299999999999: 1, 1135.6420000000001: 1, 1857.6610000000001: 1, 251.11199999999999: 1, 415.77800000000002: 1, 363.85900000000004: 1, 8247.603000000001: 1, nan: 1, 360.16199999999998: 1, 818.745: 1, 572.34100000000001: 1, 1.8159999999999998: 1, 599.28999999999996: 1, 1003.4450000000001: 1, 94.082000000000008: 1, nan: 1, 58.658999999999999: 1, 673.68399999999997: 1, 535.93600000000004: 1, 230.935: 1, 102.23299999999999: 1, 110.63200000000001: 1, 378.95400000000001: 1, 99.213999999999999: 1, 88.995000000000005: 1, 296.15100000000001: 1, 1908.3889999999999: 1, 153.52600000000001: 1, 0.66900000000000004: 1, 638.72300000000007: 1, nan: 1, 384.29699999999997: 1, 2362.3789999999999: 1, 89.896000000000001: 1, 103.69799999999999: 1, 6531.0360000000001: 1, 474.36000000000001: 1, 51.167999999999999: 1, 106.431: 1, 427.24000000000001: 1, 474.18900000000002: 1, 425.01900000000001: 1, 326.69200000000001: 1, 488.83499999999998: 1, 1674.729: 1, 206.803: 1, 356.54400000000004: 1, nan: 1, 240.202: 1, 582.34699999999998: 1, 2158.1570000000002: 1, 781.54899999999998: 1, 125.02600000000001: 1, 1041.6569999999999: 1, 318.44599999999997: 1, 452.286: 1, 1450.0610000000001: 1, 0.72400000000000009: 1, 710.89199999999994: 1, 1149.2080000000001: 1, 230.40599999999998: 1, 239.23699999999999: 1, 191.636: 1, 7111.7510000000002: 1, 64.055999999999997: 1})
In [25]:
Res_Energy_Consumption_1949_2012.Value.cumsum()
Out[25]:
0 1271.551
1 2532.818
2 3691.497
3 4770.703
4 5736.367
5 6594.622
6 7462.053
7 8300.963
8 8954.697
9 9618.193
10 10191.514
11 10776.798
12 11310.409
13 11831.203
14 12269.645
...
6741 4910989.493
6742 4912493.722
6743 4914242.577
6744 4915916.672
6745 4917385.258
6746 4918753.923
6747 4920466.596
6748 4922869.342
6749 4944156.181
6750 4946929.916
6751 4949259.925
6752 4951323.243
6753 4952748.380
6754 4954094.738
6755 4955596.187
Name: Value, Length: 6756, dtype: float64
In [ ]:
In [20]:
print round(Revised,-1)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-20-c078e1c61bdc> in <module>()
----> 1 print round(Revised,-1)
/home/perry/anaconda/lib/python2.7/site-packages/pandas/core/series.pyc in wrapper(self)
71 return converter(self.iloc[0])
72 raise TypeError(
---> 73 "cannot convert the series to {0}".format(str(converter)))
74 return wrapper
75
TypeError: cannot convert the series to <type 'float'>
In [28]:
Res_Energy_Consumption_1949_2012.Value.dtype
Out[28]:
dtype('float64')
In [26]:
print round(Res_Energy_Consumption_1949_2012.Value, -1)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-26-93764190f00d> in <module>()
----> 1 print round(Res_Energy_Consumption_1949_2012.Value, -1)
/home/perry/anaconda/lib/python2.7/site-packages/pandas/core/series.pyc in wrapper(self)
71 return converter(self.iloc[0])
72 raise TypeError(
---> 73 "cannot convert the series to {0}".format(str(converter)))
74 return wrapper
75
TypeError: cannot convert the series to <type 'float'>
In [22]:
# use the pivot table function
#report = SALES.pivot_table(values=['quantity'],index=['Account Name'],columns=['category'], aggfunc=np.sum)
#report.head(n=10)
## report = Res_Energy_Consumption_1949_2012.pivot_table(values=['Value'],index=['Description'],columns=['Value'], aggfunc=np.sum)
## report.head(n=10)
report = Res_Energy_Consumption_1949_2012.pivot_table(values=['Value'],index=['Description'], aggfunc=np.sum)
report.head(n=10)
# need to remove "columns=['Value']," since we don't have additional specification.
# need to convert the columns to floats so that they will be added?
Out[22]:
Value
Description
Biomass Energy Consumed by the Residential Sector
63565.665
Coal Consumed by the Residential Sector
16806.390
Electricity Retail Sales to the Residential Sector
303964.024
Geothermal Energy Consumed by the Residential Sector
818.356
Natural Gas Consumed by the Residential Sector (Excluding Supplemental Gaseous Fuels)
477851.187
Petroleum Consumed by the Residential Sector
182442.105
Residential Sector Electrical System Energy Losses
682645.859
Solar/PV Energy Consumed by the Residential Sector
4110.424
Total Energy Consumed by the Residential Sector
1732203.987
Total Fossil Fuels Consumed by the Residential Sector
677099.677
In [ ]:
# chart selected categories
In [30]:
#Total Fossil Fuels Consumed by the Residential Sector 677099.677= TFFCRS
# girls = names[names.sex == 'girl']
#Create a dataframe of just TFCRS.
TFFCRS= Res_Energy_Consumption_1949_2012[Res_Energy_Consumption_1949_2012.Description == 'Total Fossil Fuels Consumed by the Residential Sector']
In [32]:
TFFCRS.head(10)
# only 6 months in 2014
# So skip that year.
Out[32]:
MSN
YYYYMM
Value
Column_Order
Description
Unit
YYYY
MM
1689
FFRCBUS
194913
3405.248
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1949
13
1690
FFRCBUS
195013
3823.808
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1950
13
1691
FFRCBUS
195113
4146.264
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1951
13
1692
FFRCBUS
195213
4259.029
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1952
13
1693
FFRCBUS
195313
4220.568
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1953
13
1694
FFRCBUS
195413
4462.559
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1954
13
1695
FFRCBUS
195513
4832.746
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1955
13
1696
FFRCBUS
195613
5100.677
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1956
13
1697
FFRCBUS
195713
5042.088
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1957
13
1698
FFRCBUS
195813
5436.923
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1958
13
In [34]:
TFFCRS.to_csv("TFFCRS.csv", index=False)
#can just start from here now.
#have it local, cleaned.
In [33]:
TFFCRS.describe
Out[33]:
<bound method DataFrame.describe of MSN YYYYMM Value Column_Order \
1689 FFRCBUS 194913 3405.248 4
1690 FFRCBUS 195013 3823.808 4
1691 FFRCBUS 195113 4146.264 4
1692 FFRCBUS 195213 4259.029 4
1693 FFRCBUS 195313 4220.568 4
1694 FFRCBUS 195413 4462.559 4
1695 FFRCBUS 195513 4832.746 4
1696 FFRCBUS 195613 5100.677 4
1697 FFRCBUS 195713 5042.088 4
1698 FFRCBUS 195813 5436.923 4
1699 FFRCBUS 195913 5541.385 4
1700 FFRCBUS 196013 6024.205 4
1701 FFRCBUS 196113 6188.746 4
1702 FFRCBUS 196213 6519.627 4
1703 FFRCBUS 196313 6552.846 4
1704 FFRCBUS 196413 6612.693 4
1705 FFRCBUS 196513 6811.272 4
1706 FFRCBUS 196613 7045.412 4
1707 FFRCBUS 196713 7277.387 4
1708 FFRCBUS 196813 7507.234 4
1709 FFRCBUS 196913 7827.744 4
1710 FFRCBUS 197013 7921.629 4
1711 FFRCBUS 197113 8045.577 4
1712 FFRCBUS 197213 8247.603 4
1713 FFRCBUS 197301 1283.742 4
1714 FFRCBUS 197302 1122.848 4
1715 FFRCBUS 197303 940.288 4
1716 FFRCBUS 197304 680.527 4
1717 FFRCBUS 197305 514.522 4
1718 FFRCBUS 197306 356.544 4
... ... ... ... ...
2222 FFRCBUS 201203 493.454 4
2223 FFRCBUS 201204 349.403 4
2224 FFRCBUS 201205 233.107 4
2225 FFRCBUS 201206 190.094 4
2226 FFRCBUS 201207 173.826 4
2227 FFRCBUS 201208 181.452 4
2228 FFRCBUS 201209 185.240 4
2229 FFRCBUS 201210 310.548 4
2230 FFRCBUS 201211 565.721 4
2231 FFRCBUS 201212 767.291 4
2232 FFRCBUS 201213 5137.410 4
2233 FFRCBUS 201301 1021.368 4
2234 FFRCBUS 201302 884.460 4
2235 FFRCBUS 201303 786.602 4
2236 FFRCBUS 201304 458.182 4
2237 FFRCBUS 201305 260.914 4
2238 FFRCBUS 201306 183.701 4
2239 FFRCBUS 201307 172.098 4
2240 FFRCBUS 201308 172.799 4
2241 FFRCBUS 201309 186.631 4
2242 FFRCBUS 201310 293.006 4
2243 FFRCBUS 201311 605.985 4
2244 FFRCBUS 201312 966.726 4
2245 FFRCBUS 201313 5992.084 4
2246 FFRCBUS 201401 1160.318 4
2247 FFRCBUS 201402 963.498 4
2248 FFRCBUS 201403 801.434 4
2249 FFRCBUS 201404 412.368 4
2250 FFRCBUS 201405 261.224 4
2251 FFRCBUS 201406 185.211 4
Description Unit YYYY \
1689 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1949
1690 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1950
1691 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1951
1692 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1952
1693 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1953
1694 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1954
1695 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1955
1696 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1956
1697 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1957
1698 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1958
1699 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1959
1700 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1960
1701 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1961
1702 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1962
1703 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1963
1704 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1964
1705 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1965
1706 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1966
1707 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1967
1708 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1968
1709 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1969
1710 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1970
1711 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1971
1712 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1972
1713 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1973
1714 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1973
1715 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1973
1716 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1973
1717 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1973
1718 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1973
... ... ... ...
2222 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2012
2223 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2012
2224 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2012
2225 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2012
2226 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2012
2227 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2012
2228 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2012
2229 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2012
2230 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2012
2231 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2012
2232 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2012
2233 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2013
2234 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2013
2235 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2013
2236 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2013
2237 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2013
2238 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2013
2239 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2013
2240 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2013
2241 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2013
2242 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2013
2243 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2013
2244 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2013
2245 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2013
2246 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2014
2247 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2014
2248 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2014
2249 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2014
2250 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2014
2251 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2014
MM
1689 13
1690 13
1691 13
1692 13
1693 13
1694 13
1695 13
1696 13
1697 13
1698 13
1699 13
1700 13
1701 13
1702 13
1703 13
1704 13
1705 13
1706 13
1707 13
1708 13
1709 13
1710 13
1711 13
1712 13
1713 1
1714 2
1715 3
1716 4
1717 5
1718 6
... ..
2222 3
2223 4
2224 5
2225 6
2226 7
2227 8
2228 9
2229 10
2230 11
2231 12
2232 13
2233 1
2234 2
2235 3
2236 4
2237 5
2238 6
2239 7
2240 8
2241 9
2242 10
2243 11
2244 12
2245 13
2246 1
2247 2
2248 3
2249 4
2250 5
2251 6
[563 rows x 8 columns]>
In [36]:
TFFCRS.groupby('YYYY')['Value'].describe()
#summary for each name
# a series method.
Out[36]:
YYYY
1949 count 1.000
mean 3405.248
std NaN
min 3405.248
25% 3405.248
50% 3405.248
75% 3405.248
max 3405.248
1950 count 1.000
mean 3823.808
std NaN
min 3823.808
25% 3823.808
50% 3823.808
75% 3823.808
...
2013 mean 921.888923
std 1557.094966
min 172.098000
25% 186.631000
50% 458.182000
75% 884.460000
max 5992.084000
2014 count 6.000000
mean 630.675500
std 400.759693
min 185.211000
25% 299.010000
50% 606.901000
75% 922.982000
max 1160.318000
Length: 528, dtype: float64
In [37]:
TFFCRS.groupby('YYYY')['Value'].mean()
#summary for each name
# a series method
Out[37]:
YYYY
1949 3405.248
1950 3823.808
1951 4146.264
1952 4259.029
1953 4220.568
1954 4462.559
1955 4832.746
1956 5100.677
1957 5042.088
1958 5436.923
1959 5541.385
1960 6024.205
1961 6188.746
1962 6519.627
1963 6552.846
...
2000 1026.240615
2001 989.324846
2002 994.545231
2003 1041.412462
2004 1001.958000
2005 985.593923
2006 877.939538
2007 938.061385
2008 975.440462
2009 930.028846
2010 923.716231
2011 901.109846
2012 790.429615
2013 921.888923
2014 630.675500
Name: Value, Length: 66, dtype: float64
In [39]:
'''
need to clean 2014 data from my analysis
'''
Out[39]:
'\nneed to clean 2014 data from my analysis\n'
In [31]:
#Regression
import statsmodels.formula.api as smf
model = smf.ols('Value ~ YYYY', data=TFFCRS)
results = model.fit()
results.summary()
# why is year negatively correlated?
# should increase over time- is there a total that is messing up things?
Out[31]:
OLS Regression Results
Dep. Variable: Value R-squared: 0.074
Model: OLS Adj. R-squared: 0.073
Method: Least Squares F-statistic: 45.02
Date: Sat, 08 Nov 2014 Prob (F-statistic): 4.77e-11
Time: 15:02:13 Log-Likelihood: -5024.2
No. Observations: 563 AIC: 1.005e+04
Df Residuals: 561 BIC: 1.006e+04
Df Model: 1
coef std err t P>|t| [95.0% Conf. Int.]
Intercept 7.701e+04 1.13e+04 6.816 0.000 5.48e+04 9.92e+04
YYYY -38.0583 5.672 -6.710 0.000 -49.199 -26.917
Omnibus: 261.867 Durbin-Watson: 1.371
Prob(Omnibus): 0.000 Jarque-Bera (JB): 900.937
Skew: 2.296 Prob(JB): 2.31e-196
Kurtosis: 7.162 Cond. No. 2.93e+05
In [40]:
df = TFFCRS[TFFCRS.YYYY == 2013].sort_index(by='MM',ascending=False)
#nneed to skip 13
# or do the analyis where MMM =13
In [41]:
df
Out[41]:
MSN
YYYYMM
Value
Column_Order
Description
Unit
YYYY
MM
2245
FFRCBUS
201313
5992.084
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
13
2244
FFRCBUS
201312
966.726
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
12
2243
FFRCBUS
201311
605.985
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
11
2242
FFRCBUS
201310
293.006
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
10
2241
FFRCBUS
201309
186.631
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
9
2240
FFRCBUS
201308
172.799
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
8
2239
FFRCBUS
201307
172.098
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
7
2238
FFRCBUS
201306
183.701
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
6
2237
FFRCBUS
201305
260.914
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
5
2236
FFRCBUS
201304
458.182
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
4
2235
FFRCBUS
201303
786.602
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
3
2234
FFRCBUS
201302
884.460
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
2
2233
FFRCBUS
201301
1021.368
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
1
In [ ]:
In [61]:
#Do the analysis by yearly data (full year)
Yearly_TFFCRS = TFFCRS[TFFCRS.MM == 13].sort_index(by='YYYY',ascending=True)
#need to skip 13
# or do the analyis where MMM =1
In [62]:
Yearly_TFFCRS.describe
Out[62]:
<bound method DataFrame.describe of MSN YYYYMM Value Column_Order \
1689 FFRCBUS 194913 3405.248 4
1690 FFRCBUS 195013 3823.808 4
1691 FFRCBUS 195113 4146.264 4
1692 FFRCBUS 195213 4259.029 4
1693 FFRCBUS 195313 4220.568 4
1694 FFRCBUS 195413 4462.559 4
1695 FFRCBUS 195513 4832.746 4
1696 FFRCBUS 195613 5100.677 4
1697 FFRCBUS 195713 5042.088 4
1698 FFRCBUS 195813 5436.923 4
1699 FFRCBUS 195913 5541.385 4
1700 FFRCBUS 196013 6024.205 4
1701 FFRCBUS 196113 6188.746 4
1702 FFRCBUS 196213 6519.627 4
1703 FFRCBUS 196313 6552.846 4
1704 FFRCBUS 196413 6612.693 4
1705 FFRCBUS 196513 6811.272 4
1706 FFRCBUS 196613 7045.412 4
1707 FFRCBUS 196713 7277.387 4
1708 FFRCBUS 196813 7507.234 4
1709 FFRCBUS 196913 7827.744 4
1710 FFRCBUS 197013 7921.629 4
1711 FFRCBUS 197113 8045.577 4
1712 FFRCBUS 197213 8247.603 4
1725 FFRCBUS 197313 7871.212 4
1738 FFRCBUS 197413 7536.958 4
1751 FFRCBUS 197513 7564.221 4
1764 FFRCBUS 197613 7909.501 4
1777 FFRCBUS 197713 7651.836 4
1790 FFRCBUS 197813 7638.094 4
... ... ... ... ...
1868 FFRCBUS 198413 6230.899 4
1881 FFRCBUS 198513 6138.219 4
1894 FFRCBUS 198613 5986.190 4
1907 FFRCBUS 198713 6073.374 4
1920 FFRCBUS 198813 6446.785 4
1933 FFRCBUS 198913 6589.516 4
1946 FFRCBUS 199013 5916.202 4
1959 FFRCBUS 199113 6073.429 4
1972 FFRCBUS 199213 6244.245 4
1985 FFRCBUS 199313 6528.036 4
1998 FFRCBUS 199413 6389.085 4
2011 FFRCBUS 199513 6345.499 4
2024 FFRCBUS 199613 6854.495 4
2037 FFRCBUS 199713 6531.036 4
2050 FFRCBUS 199813 5961.746 4
2063 FFRCBUS 199913 6313.783 4
2076 FFRCBUS 200013 6670.213 4
2089 FFRCBUS 200113 6430.080 4
2102 FFRCBUS 200213 6464.162 4
2115 FFRCBUS 200313 6768.494 4
2128 FFRCBUS 200413 6512.558 4
2141 FFRCBUS 200513 6405.628 4
2154 FFRCBUS 200613 5706.282 4
2167 FFRCBUS 200713 6096.872 4
2180 FFRCBUS 200813 6339.689 4
2193 FFRCBUS 200913 6044.486 4
2206 FFRCBUS 201013 6003.429 4
2219 FFRCBUS 201113 5856.595 4
2232 FFRCBUS 201213 5137.410 4
2245 FFRCBUS 201313 5992.084 4
Description Unit YYYY \
1689 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1949
1690 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1950
1691 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1951
1692 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1952
1693 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1953
1694 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1954
1695 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1955
1696 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1956
1697 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1957
1698 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1958
1699 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1959
1700 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1960
1701 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1961
1702 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1962
1703 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1963
1704 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1964
1705 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1965
1706 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1966
1707 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1967
1708 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1968
1709 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1969
1710 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1970
1711 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1971
1712 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1972
1725 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1973
1738 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1974
1751 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1975
1764 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1976
1777 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1977
1790 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1978
... ... ... ...
1868 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1984
1881 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1985
1894 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1986
1907 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1987
1920 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1988
1933 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1989
1946 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1990
1959 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1991
1972 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1992
1985 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1993
1998 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1994
2011 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1995
2024 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1996
2037 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1997
2050 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1998
2063 Total Fossil Fuels Consumed by the Residential... Trillion Btu 1999
2076 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2000
2089 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2001
2102 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2002
2115 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2003
2128 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2004
2141 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2005
2154 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2006
2167 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2007
2180 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2008
2193 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2009
2206 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2010
2219 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2011
2232 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2012
2245 Total Fossil Fuels Consumed by the Residential... Trillion Btu 2013
MM
1689 13
1690 13
1691 13
1692 13
1693 13
1694 13
1695 13
1696 13
1697 13
1698 13
1699 13
1700 13
1701 13
1702 13
1703 13
1704 13
1705 13
1706 13
1707 13
1708 13
1709 13
1710 13
1711 13
1712 13
1725 13
1738 13
1751 13
1764 13
1777 13
1790 13
... ..
1868 13
1881 13
1894 13
1907 13
1920 13
1933 13
1946 13
1959 13
1972 13
1985 13
1998 13
2011 13
2024 13
2037 13
2050 13
2063 13
2076 13
2089 13
2102 13
2115 13
2128 13
2141 13
2154 13
2167 13
2180 13
2193 13
2206 13
2219 13
2232 13
2245 13
[65 rows x 8 columns]>
In [63]:
Yearly_TFFCRS
Out[63]:
MSN
YYYYMM
Value
Column_Order
Description
Unit
YYYY
MM
1689
FFRCBUS
194913
3405.248
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1949
13
1690
FFRCBUS
195013
3823.808
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1950
13
1691
FFRCBUS
195113
4146.264
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1951
13
1692
FFRCBUS
195213
4259.029
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1952
13
1693
FFRCBUS
195313
4220.568
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1953
13
1694
FFRCBUS
195413
4462.559
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1954
13
1695
FFRCBUS
195513
4832.746
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1955
13
1696
FFRCBUS
195613
5100.677
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1956
13
1697
FFRCBUS
195713
5042.088
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1957
13
1698
FFRCBUS
195813
5436.923
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1958
13
1699
FFRCBUS
195913
5541.385
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1959
13
1700
FFRCBUS
196013
6024.205
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1960
13
1701
FFRCBUS
196113
6188.746
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1961
13
1702
FFRCBUS
196213
6519.627
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1962
13
1703
FFRCBUS
196313
6552.846
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1963
13
1704
FFRCBUS
196413
6612.693
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1964
13
1705
FFRCBUS
196513
6811.272
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1965
13
1706
FFRCBUS
196613
7045.412
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1966
13
1707
FFRCBUS
196713
7277.387
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1967
13
1708
FFRCBUS
196813
7507.234
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1968
13
1709
FFRCBUS
196913
7827.744
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1969
13
1710
FFRCBUS
197013
7921.629
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1970
13
1711
FFRCBUS
197113
8045.577
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1971
13
1712
FFRCBUS
197213
8247.603
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1972
13
1725
FFRCBUS
197313
7871.212
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1973
13
1738
FFRCBUS
197413
7536.958
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1974
13
1751
FFRCBUS
197513
7564.221
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1975
13
1764
FFRCBUS
197613
7909.501
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1976
13
1777
FFRCBUS
197713
7651.836
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1977
13
1790
FFRCBUS
197813
7638.094
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1978
13
...
...
...
...
...
...
...
...
...
1868
FFRCBUS
198413
6230.899
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1984
13
1881
FFRCBUS
198513
6138.219
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1985
13
1894
FFRCBUS
198613
5986.190
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1986
13
1907
FFRCBUS
198713
6073.374
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1987
13
1920
FFRCBUS
198813
6446.785
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1988
13
1933
FFRCBUS
198913
6589.516
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1989
13
1946
FFRCBUS
199013
5916.202
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1990
13
1959
FFRCBUS
199113
6073.429
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1991
13
1972
FFRCBUS
199213
6244.245
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1992
13
1985
FFRCBUS
199313
6528.036
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1993
13
1998
FFRCBUS
199413
6389.085
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1994
13
2011
FFRCBUS
199513
6345.499
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1995
13
2024
FFRCBUS
199613
6854.495
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1996
13
2037
FFRCBUS
199713
6531.036
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1997
13
2050
FFRCBUS
199813
5961.746
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1998
13
2063
FFRCBUS
199913
6313.783
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
1999
13
2076
FFRCBUS
200013
6670.213
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2000
13
2089
FFRCBUS
200113
6430.080
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2001
13
2102
FFRCBUS
200213
6464.162
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2002
13
2115
FFRCBUS
200313
6768.494
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2003
13
2128
FFRCBUS
200413
6512.558
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2004
13
2141
FFRCBUS
200513
6405.628
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2005
13
2154
FFRCBUS
200613
5706.282
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2006
13
2167
FFRCBUS
200713
6096.872
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2007
13
2180
FFRCBUS
200813
6339.689
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2008
13
2193
FFRCBUS
200913
6044.486
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2009
13
2206
FFRCBUS
201013
6003.429
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2010
13
2219
FFRCBUS
201113
5856.595
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2011
13
2232
FFRCBUS
201213
5137.410
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2012
13
2245
FFRCBUS
201313
5992.084
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
13
65 rows × 8 columns
explore by group The first concept we deal with here is pandas groupby. The idea is to group a dataframe by the values of a particular factor variable. The documentation can be found here: http://pandas.pydata.org/pandas-docs/dev/groupby.html. What we do here ia a technique called Split, Apply, and Combine.
region_groupby = df.groupby('region') print type(region_groupby) region_groupby.head()
In [64]:
#split
Yearly_TFFCRS.Description_groupby = df.groupby('Description')
print type(Yearly_TFFCRS.Description_groupby)
Yearly_TFFCRS.Description_groupby.head(100)
#something wrong here--- taking just 2013-- review naming below.
<class 'pandas.core.groupby.DataFrameGroupBy'>
Out[64]:
MSN
YYYYMM
Value
Column_Order
Description
Unit
YYYY
MM
2245
FFRCBUS
201313
5992.084
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
13
2244
FFRCBUS
201312
966.726
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
12
2243
FFRCBUS
201311
605.985
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
11
2242
FFRCBUS
201310
293.006
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
10
2241
FFRCBUS
201309
186.631
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
9
2240
FFRCBUS
201308
172.799
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
8
2239
FFRCBUS
201307
172.098
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
7
2238
FFRCBUS
201306
183.701
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
6
2237
FFRCBUS
201305
260.914
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
5
2236
FFRCBUS
201304
458.182
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
4
2235
FFRCBUS
201303
786.602
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
3
2234
FFRCBUS
201302
884.460
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
2
2233
FFRCBUS
201301
1021.368
4
Total Fossil Fuels Consumed by the Residential...
Trillion Btu
2013
1
In [60]:
Yearly_TFFCRS.Description_groupby.describe()
Out[60]:
YYYYMM
Value
Column_Order
YYYY
MM
Description
Total Fossil Fuels Consumed by the Residential Sector
count
13.00000
13.000000
13
13
13.00000
mean
201307.00000
921.888923
4
2013
7.00000
std
3.89444
1557.094966
0
0
3.89444
min
201301.00000
172.098000
4
2013
1.00000
25%
201304.00000
186.631000
4
2013
4.00000
50%
201307.00000
458.182000
4
2013
7.00000
75%
201310.00000
884.460000
4
2013
10.00000
max
201313.00000
5992.084000
4
2013
13.00000
In [ ]:
In [68]:
'''
from
http://localhost:8888/notebooks/Dropbox/laptop-repos/OliveOilMachineLearning/Olives_at_BDF.ipynb
'''
#seaborn
#ggplot for python, but seaborn is similar -- passive grid.
# one thing for each region
#a groupby for plots
#using pandas.
g=sns.FacetGrid(Yearly_TFFCRS, col="Description")
#####g.map(plt.scatter);
g.map(plt.scatter,"Value", "MM");
##not working.
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-68-1d6b9aeebae6> in <module>()
11 g=sns.FacetGrid(Yearly_TFFCRS, col="Description")
12 #####g.map(plt.scatter);
---> 13 g.map(plt.scatter,"Value", "MM");
14 #region one is very distinct on the x axis.
15 # might be easy to split up south(1) from the others.
/home/perry/anaconda/lib/python2.7/site-packages/seaborn/axisgrid.pyc in map(self, func, *args, **kwargs)
436
437 # Finalize the annotations and layout
--> 438 self._finalize_grid(args[:2])
439
440 return self
/home/perry/anaconda/lib/python2.7/site-packages/seaborn/axisgrid.pyc in _finalize_grid(self, axlabels)
523 self.set_axis_labels(*axlabels)
524 self.set_titles()
--> 525 self.fig.tight_layout()
526
527 def facet_axis(self, row_i, col_j):
/home/perry/anaconda/lib/python2.7/site-packages/matplotlib/figure.pyc in tight_layout(self, renderer, pad, h_pad, w_pad, rect)
1605 rect=rect)
1606
-> 1607 self.subplots_adjust(**kwargs)
1608
1609
/home/perry/anaconda/lib/python2.7/site-packages/matplotlib/figure.pyc in subplots_adjust(self, *args, **kwargs)
1465
1466 """
-> 1467 self.subplotpars.update(*args, **kwargs)
1468 for ax in self.axes:
1469 if not isinstance(ax, SubplotBase):
/home/perry/anaconda/lib/python2.7/site-packages/matplotlib/figure.pyc in update(self, left, bottom, right, top, wspace, hspace)
215 if self.left >= self.right:
216 reset()
--> 217 raise ValueError('left cannot be >= right')
218
219 if self.bottom >= self.top:
ValueError: left cannot be >= right
In [72]:
#Yearly_TFFCRS.Description.plot()
#does not work
##Yearly_TFFCRS.Value.plot()
# why from 1700 to 2300?
##TFFCRS.Value.plot()
# why from 1700 to 2300?
#up and down given yearly and monthly data.
Yearly_TFFCRS.Value.plot()
Out[72]:
<matplotlib.axes.AxesSubplot at 0x7f6aa943bc90>
In [75]:
grouped = Yearly_TFFCRS.Value.groupby('MM')['Value']
Yearly_TFFCRS['year_rank'] = grouped.transform(Series.rank)
idf = Yearly_TFFCRS.set_index(['Value', 'MM'])
#idf.ix['Wesley']
idf.ix['Total Fossil Fuels Consumed by the Residential Sector'].year_rank.plot()
#KEY ERROR
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
<ipython-input-75-8f9605c56bfb> in <module>()
----> 1 grouped = Yearly_TFFCRS.Value.groupby('MM')['Value']
2 Yearly_TFFCRS['year_rank'] = grouped.transform(Series.rank)
3 idf = Yearly_TFFCRS.set_index(['Value', 'MM'])
4 #idf.ix['Wesley']
5 idf.ix['Total Fossil Fuels Consumed by the Residential Sector'].year_rank.plot()
/home/perry/anaconda/lib/python2.7/site-packages/pandas/core/generic.pyc in groupby(self, by, axis, level, as_index, sort, group_keys, squeeze)
2871 axis = self._get_axis_number(axis)
2872 return groupby(self, by, axis=axis, level=level, as_index=as_index,
-> 2873 sort=sort, group_keys=group_keys, squeeze=squeeze)
2874
2875 def asfreq(self, freq, method=None, how=None, normalize=False):
/home/perry/anaconda/lib/python2.7/site-packages/pandas/core/groupby.pyc in groupby(obj, by, **kwds)
1187 raise TypeError('invalid type: %s' % type(obj))
1188
-> 1189 return klass(obj, by, **kwds)
1190
1191
/home/perry/anaconda/lib/python2.7/site-packages/pandas/core/groupby.pyc in __init__(self, obj, keys, axis, level, grouper, exclusions, selection, as_index, sort, group_keys, squeeze)
379 if grouper is None:
380 grouper, exclusions, obj = _get_grouper(obj, keys, axis=axis,
--> 381 level=level, sort=sort)
382
383 self.obj = obj
/home/perry/anaconda/lib/python2.7/site-packages/pandas/core/groupby.pyc in _get_grouper(obj, key, axis, level, sort)
2108 exclusions.append(gpr)
2109 name = gpr
-> 2110 gpr = obj[gpr]
2111
2112 if isinstance(gpr, Categorical) and len(gpr) != len(obj):
/home/perry/anaconda/lib/python2.7/site-packages/pandas/core/series.pyc in __getitem__(self, key)
500 def __getitem__(self, key):
501 try:
--> 502 result = self.index.get_value(self, key)
503
504 if not np.isscalar(result):
/home/perry/anaconda/lib/python2.7/site-packages/pandas/core/index.pyc in get_value(self, series, key)
1398
1399 try:
-> 1400 return self._engine.get_value(s, k)
1401 except KeyError as e1:
1402 if len(self) > 0 and self.inferred_type in ['integer','boolean']:
/home/perry/anaconda/lib/python2.7/site-packages/pandas/index.so in pandas.index.IndexEngine.get_value (pandas/index.c:3080)()
/home/perry/anaconda/lib/python2.7/site-packages/pandas/index.so in pandas.index.IndexEngine.get_value (pandas/index.c:2809)()
/home/perry/anaconda/lib/python2.7/site-packages/pandas/index.so in pandas.index.IndexEngine.get_loc (pandas/index.c:3732)()
KeyError: 'MM'
In [83]:
#new dataframe-- key advantage of pandas
#plot
pd.value_counts(df.areastring, sort=False).plot(kind="bar");
#style from seaborn
#softgriding
#easy to read.
#could use additional labels.
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-83-0750d02b115a> in <module>()
1 #new dataframe-- key advantage of pandas
2 #plot
----> 3 pd.value_counts(df.areastring, sort=False).plot(kind="bar");
4 #style from seaborn
5 #softgriding
/home/perry/anaconda/lib/python2.7/site-packages/pandas/core/generic.pyc in __getattr__(self, name)
1934 return self[name]
1935 raise AttributeError("'%s' object has no attribute '%s'" %
-> 1936 (type(self).__name__, name))
1937
1938 def __setattr__(self, name, value):
AttributeError: 'DataFrame' object has no attribute 'areastring'
In [81]:
#birdseye, quick view of the data
pd.crosstab(Yearly_TFFCRS.Value, Yearly_TFFCRS.YYYY)
Out[81]:
YYYY
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
...
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
Value
3405.248
1
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
3823.808
0
1
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
4146.264
0
0
1
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
4220.568
0
0
0
0
1
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
4259.029
0
0
0
1
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
4462.559
0
0
0
0
0
1
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
4832.746
0
0
0
0
0
0
1
0
0
0
...
0
0
0
0
0
0
0
0
0
0
5042.088
0
0
0
0
0
0
0
0
1
0
...
0
0
0
0
0
0
0
0
0
0
5100.677
0
0
0
0
0
0
0
1
0
0
...
0
0
0
0
0
0
0
0
0
0
5137.410
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
1
0
5436.923
0
0
0
0
0
0
0
0
0
1
...
0
0
0
0
0
0
0
0
0
0
5541.385
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
5706.282
0
0
0
0
0
0
0
0
0
0
...
0
0
1
0
0
0
0
0
0
0
5856.595
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
1
0
0
5861.823
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
5916.202
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
5961.746
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
5986.190
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
5992.084
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
1
6003.429
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
1
0
0
0
6024.205
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
6044.486
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
1
0
0
0
0
6073.374
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
6073.429
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
6096.872
0
0
0
0
0
0
0
0
0
0
...
0
0
0
1
0
0
0
0
0
0
6138.219
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
6175.285
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
6176.587
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
6188.746
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
6230.899
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
6405.628
0
0
0
0
0
0
0
0
0
0
...
0
1
0
0
0
0
0
0
0
0
6430.080
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
6446.785
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
6464.162
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
6512.558
0
0
0
0
0
0
0
0
0
0
...
1
0
0
0
0
0
0
0
0
0
6519.627
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
6528.036
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
6531.036
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
6552.846
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
6589.405
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
6589.516
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
6612.693
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
6670.213
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
6768.494
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
6811.272
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
6854.495
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
7045.412
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
7190.834
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
7277.387
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
7507.234
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
7536.958
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
7564.221
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
7638.094
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
7651.836
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
7827.744
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
7871.212
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
7909.501
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
7921.629
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
8045.577
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
8247.603
0
0
0
0
0
0
0
0
0
0
...
0
0
0
0
0
0
0
0
0
0
65 rows × 65 columns
In [82]:
Yearly_TFFCRS.dtypes
Out[82]:
MSN object
YYYYMM int64
Value float64
Column_Order int64
Description object
Unit object
YYYY int64
MM int64
dtype: object
In [69]:
# now rank of over time
# from http://localhost:8888/notebooks/Dropbox/laptop-repos/Babynames2/PlayingwithBabynames.ipynb
#Yearly_TFFCRS.Description
grouped = Yearly_TFFCRS.Description.groupby('YYYY')['Value']
Yearly_TFFCRS.Description['YYYY_rank'] = grouped.transform(Series.rank)
Yearly_TFFCRS.Description[Yearly_TFFCRS.Description.name == 'Total Fossil Fuels Consumed by the Residential Sector'].YYYY_rank.plot()
#
#-c:4: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame.
#Try using .loc[row_index,col_indexer] = value instead
# but still works, I guess.
# but my y axis is different. proportion rather than rank?
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
<ipython-input-69-3d8b6974a243> in <module>()
2 # from http://localhost:8888/notebooks/Dropbox/laptop-repos/Babynames2/PlayingwithBabynames.ipynb
3 #Yearly_TFFCRS.Description
----> 4 grouped = Yearly_TFFCRS.Description.groupby('YYYY')['Value']
5 Yearly_TFFCRS.Description['YYYY_rank'] = grouped.transform(Series.rank)
6 Yearly_TFFCRS.Description[Yearly_TFFCRS.Description.name == 'Total Fossil Fuels Consumed by the Residential Sector'].YYYY_rank.plot()
/home/perry/anaconda/lib/python2.7/site-packages/pandas/core/generic.pyc in groupby(self, by, axis, level, as_index, sort, group_keys, squeeze)
2871 axis = self._get_axis_number(axis)
2872 return groupby(self, by, axis=axis, level=level, as_index=as_index,
-> 2873 sort=sort, group_keys=group_keys, squeeze=squeeze)
2874
2875 def asfreq(self, freq, method=None, how=None, normalize=False):
/home/perry/anaconda/lib/python2.7/site-packages/pandas/core/groupby.pyc in groupby(obj, by, **kwds)
1187 raise TypeError('invalid type: %s' % type(obj))
1188
-> 1189 return klass(obj, by, **kwds)
1190
1191
/home/perry/anaconda/lib/python2.7/site-packages/pandas/core/groupby.pyc in __init__(self, obj, keys, axis, level, grouper, exclusions, selection, as_index, sort, group_keys, squeeze)
379 if grouper is None:
380 grouper, exclusions, obj = _get_grouper(obj, keys, axis=axis,
--> 381 level=level, sort=sort)
382
383 self.obj = obj
/home/perry/anaconda/lib/python2.7/site-packages/pandas/core/groupby.pyc in _get_grouper(obj, key, axis, level, sort)
2108 exclusions.append(gpr)
2109 name = gpr
-> 2110 gpr = obj[gpr]
2111
2112 if isinstance(gpr, Categorical) and len(gpr) != len(obj):
/home/perry/anaconda/lib/python2.7/site-packages/pandas/core/series.pyc in __getitem__(self, key)
500 def __getitem__(self, key):
501 try:
--> 502 result = self.index.get_value(self, key)
503
504 if not np.isscalar(result):
/home/perry/anaconda/lib/python2.7/site-packages/pandas/core/index.pyc in get_value(self, series, key)
1398
1399 try:
-> 1400 return self._engine.get_value(s, k)
1401 except KeyError as e1:
1402 if len(self) > 0 and self.inferred_type in ['integer','boolean']:
/home/perry/anaconda/lib/python2.7/site-packages/pandas/index.so in pandas.index.IndexEngine.get_value (pandas/index.c:3080)()
/home/perry/anaconda/lib/python2.7/site-packages/pandas/index.so in pandas.index.IndexEngine.get_value (pandas/index.c:2809)()
/home/perry/anaconda/lib/python2.7/site-packages/pandas/index.so in pandas.index.IndexEngine.get_loc (pandas/index.c:3732)()
KeyError: 'YYYY'
In [59]:
#Regression
import statsmodels.formula.api as smf
model = smf.ols('Value ~ YYYY', data=Yearly_TFFCRS)
results = model.fit()
results.summary()
# 4% of variance explained. Very low.
# Year is statistically significant at the 10% CI, not at the 5% (barely) Could do one-directional.
# YYYY 13.1862 6.736 1.957 0.055 -0.275 26.648
# 65 observations--- compare to 13-- above--which is wrong.
Out[59]:
OLS Regression Results
Dep. Variable: Value R-squared: 0.057
Model: OLS Adj. R-squared: 0.042
Method: Least Squares F-statistic: 3.832
Date: Sat, 08 Nov 2014 Prob (F-statistic): 0.0547
Time: 15:51:28 Log-Likelihood: -541.44
No. Observations: 65 AIC: 1087.
Df Residuals: 63 BIC: 1091.
Df Model: 1
coef std err t P>|t| [95.0% Conf. Int.]
Intercept -1.984e+04 1.33e+04 -1.487 0.142 -4.65e+04 6824.665
YYYY 13.1862 6.736 1.957 0.055 -0.275 26.648
Omnibus: 0.048 Durbin-Watson: 0.105
Prob(Omnibus): 0.976 Jarque-Bera (JB): 0.164
Skew: 0.059 Prob(JB): 0.921
Kurtosis: 2.785 Cond. No. 2.09e+05
In [ ]:
In [ ]:
In [25]:
#a hierarchical index
Res_Energy_Consumption_1949_2012.groupby(['MM']).size().ix[13]
# a series.
Out[25]:
780
In [26]:
#names.groupby(['sex','year']).size()
#names.groupby(['year','sex']).size().ix[2000]
Res_Energy_Consumption_1949_2012.groupby(['YYYY','Description']).size().ix[1980]
#a hierarchical index
# a series.
Out[26]:
Description
Biomass Energy Consumed by the Residential Sector 13
Coal Consumed by the Residential Sector 13
Electricity Retail Sales to the Residential Sector 13
Geothermal Energy Consumed by the Residential Sector 13
Natural Gas Consumed by the Residential Sector (Excluding Supplemental Gaseous Fuels) 13
Petroleum Consumed by the Residential Sector 13
Residential Sector Electrical System Energy Losses 13
Solar/PV Energy Consumed by the Residential Sector 13
Total Energy Consumed by the Residential Sector 13
Total Fossil Fuels Consumed by the Residential Sector 13
Total Primary Energy Consumed by the Residential Sector 13
Total Renewable Energy Consumed by the Residential Sector 13
dtype: int64
In [18]:
import numpy as np
In [19]:
from __future__ import division
In [20]:
Res_Energy_Consumption_1949_2012['YYYYfl'] = np.float32(Res_Energy_Consumption_1949_2012.YYYY)
In [37]:
Res_Energy_Consumption_1949_2012['MMfl'] = np.float32(Res_Energy_Consumption_1949_2012.MM)
In [27]:
Res_Energy_Consumption_1949_2012['Valuefl'] = np.double(Res_Energy_Consumption_1949_2012.Value)
# fixed no with text removed in csv
In [29]:
#boys[boys.year== 2000].prop.idxmax()
# gives the index of the maximum value: idmax
#boys.ix[boys[boys.year== 2000].prop.idxmax()]
# for the whole row
#Res_Energy_Consumption_1949_2012
Res_Energy_Consumption_1949_2012.ix[Res_Energy_Consumption_1949_2012[Res_Energy_Consumption_1949_2012.MMfl== 13].YYYYfl.idxmax()]
# this works: .MMfl== 13].YYYYfl.i
# but not this: .MMfl== 13].Valuefl.i
#because I can't get Value to convert to float. Is it in a bigger format? or should float constrain it?
#ValueError: could not convert string to float: Not Available
# why not available here?
#stanford engineering python classes online?
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-29-bfee83745abb> in <module>()
5 #Res_Energy_Consumption_1949_2012
6
----> 7 Res_Energy_Consumption_1949_2012.ix[Res_Energy_Consumption_1949_2012[Res_Energy_Consumption_1949_2012.MMfl== 13].YYYYfl.idxmax()]
8
9
/home/perry/anaconda/lib/python2.7/site-packages/pandas/core/generic.pyc in __getattr__(self, name)
1841 return self[name]
1842 raise AttributeError("'%s' object has no attribute '%s'" %
-> 1843 (type(self).__name__, name))
1844
1845 def __setattr__(self, name, value):
AttributeError: 'DataFrame' object has no attribute 'MMfl'
In [28]:
def get_max_record(group):
return group.ix[group.YYYY.idxmax()]
get_max_record(Res_Energy_Consumption_1949_2012)
## Need to figure out how to take all the 13s for each year.
Out[28]:
MSN CLRCBUS
YYYYMM 201401
Value NaN
Column_Order 1
Description Coal Consumed by the Residential Sector
Unit Trillion Btu
YYYY 2014
MM 1
Valuefl NaN
Name: 557, dtype: object
In [ ]:
#Res_Energy_Consumption_1949_2012
# df name
In [ ]:
#Rename a column
# http://stackoverflow.com/questions/11346283/renaming-columns-in-pandas
# df.columns.values[0]='XX'
#Res_Primary_E_Consumption.columns.values[1]='NaturalGas'
In [ ]:
#Rename a column
# http://stackoverflow.com/questions/11346283/renaming-columns-in-pandas
# df.columns.values[0]='XX'
#Res_Primary_E_Consumption.columns.values[-3]='MYTOTAL'
In [ ]:
In [ ]:
# split by year-- proportion in each year and stack them.
#
#def get_max_record(group):
# return group.ix[group.prop.idxmax()]
#result =boys.groupby('year').apply(get_max_record)
# my full data is not showing due to html, which I cannot remove.
# diversity of data going up.
def get_max_record(group):
return group.ix[group.Value.idxmax()]
result = Res_Energy_Consumption_1949_2012.groupby('YYYYfl').apply(get_max_record)
#why am I getting this error? The TOTAL column has been renamed to YESTOTAL.
#AttributeError: 'DataFrame' object has no attribute 'YESTOTAL'
#YESTOTAL works beow with result.
#no error when returned to TOTAL.
In [35]:
# split by year-- proportion in each year and stack them.
def get_max_record(group):
return group.ix[group.Value.idxmax()]
Value_result =Res_Energy_Consumption_1949_2012.groupby('YYYY', 'Description').apply(get_max_record)
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-35-c0a0391c6323> in <module>()
4 def get_max_record(group):
5 return group.ix[group.Value.idxmax()]
----> 6 Value_result =Res_Energy_Consumption_1949_2012.groupby('YYYY', 'Description').apply(get_max_record)
/home/perry/anaconda/lib/python2.7/site-packages/pandas/core/generic.pyc in groupby(self, by, axis, level, as_index, sort, group_keys, squeeze)
2769
2770 from pandas.core.groupby import groupby
-> 2771 axis = self._get_axis_number(axis)
2772 return groupby(self, by, axis=axis, level=level, as_index=as_index,
2773 sort=sort, group_keys=group_keys, squeeze=squeeze)
/home/perry/anaconda/lib/python2.7/site-packages/pandas/core/generic.pyc in _get_axis_number(self, axis)
293 pass
294 raise ValueError('No axis named {0} for object type {1}'
--> 295 .format(axis, type(self)))
296
297 def _get_axis_name(self, axis):
ValueError: No axis named Description for object type <class 'pandas.core.frame.DataFrame'>
In [36]:
# split by year-- proportion in each year and stack them.
#
#def get_max_record(group):
# return group.ix[group.prop.idxmax()]
#result =boys.groupby('year').apply(get_max_record)
# my full data is not showing due to html, which I cannot remove.
# diversity of data going up.
# NaturalGas
##def get_max_record(group):
# return group.ix[group.NaturalGas_perc.idxmax()]
## return group.ix[group.Renewable_perc.idxmax()]
##NG_result =Res_Primary_E_Consumption.groupby('Year').apply(get_max_record)
#Renewable_perc
# return group.ix[group.NaturalGas.idxmax()]
# ??? AttributeError: 'DataFrame' object has no attribute 'NaturalGas'
# Why Not? It has TOTAL
# return group.ix[group.NaturalGas_perc.idxmax()]
#ValueError: invalid literal for float(): 30%
# does it have this. but is it yeilding an error on this?
In [ ]:
NG_result.NaturalGas
In [38]:
#http://allendowney.blogspot.com/
# from http://allendowney.blogspot.com/
#Value by year.
###NEEDS TO BE DONE BY EACH DESCRIPTION TYPE. and compared.
# also chart each comparison.
import statsmodels.formula.api as smf
model = smf.ols('Value ~ YYYY', data=Res_Energy_Consumption_1949_2012)
results = model.fit()
results.summary()
Out[38]:
OLS Regression Results
Dep. Variable: Value R-squared: 0.011
Model: OLS Adj. R-squared: 0.011
Method: Least Squares F-statistic: 70.37
Date: Thu, 06 Nov 2014 Prob (F-statistic): 6.03e-17
Time: 16:06:08 Log-Likelihood: -55958.
No. Observations: 6208 AIC: 1.119e+05
Df Residuals: 6206 BIC: 1.119e+05
Df Model: 1
coef std err t P>|t| [95.0% Conf. Int.]
Intercept 3.262e+04 3793.855 8.599 0.000 2.52e+04 4.01e+04
YYYY -15.9716 1.904 -8.389 0.000 -19.704 -12.239
Omnibus: 7084.299 Durbin-Watson: 1.398
Prob(Omnibus): 0.000 Jarque-Bera (JB): 593911.548
Skew: 6.046 Prob(JB): 0.00
Kurtosis: 49.366 Cond. No. 3.00e+05
In [30]:
result.TOTAL.plot()
# linear increase since modeled after 2010.
# but hits later
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-30-01aec75c7861> in <module>()
----> 1 result.TOTAL.plot()
2 # linear increase since modeled after 2010.
3 # but hits later
NameError: name 'result' is not defined
In [26]:
result.NaturalGas.plot()
# linear increase since modeled after 2010.
# but hits later
Out[26]:
<matplotlib.axes.AxesSubplot at 0x7f24321809d0>
In [41]:
result[:50]
Out[41]:
Year
NaturalGas
NaturalGas_perc
Petroleum
Petroleum_perc
Coal
Coal_perc
Renewable
Renewable_perc
Electricity_Sales
Electricity_Losses
Electricity_Total
Electricity_Total_perc
TOTAL
TOTAL_perc
Change_since2010
Year
1980
1980
4.79
30%
1.72
11%
0.03
0%
0.85
5%
2.45
5.89
8.33
53%
15.72
100%
-
1981
1981
4.57
30%
1.52
10%
0.03
0%
0.87
6%
2.46
5.77
8.24
54%
15.23
100%
-
1982
1982
4.68
30%
1.42
9%
0.03
0%
0.97
6%
2.49
5.89
8.38
54%
15.48
100%
-
1983
1983
4.45
29%
1.33
9%
0.03
0%
0.97
6%
2.56
6.03
8.59
56%
15.38
100%
-
1984
1984
4.64
29%
1.51
10%
0.04
0%
0.98
6%
2.66
6.07
8.73
55%
15.90
100%
-
1985
1985
4.51
28%
1.55
10%
0.04
0%
1.01
6%
2.71
6.21
8.92
56%
16.02
100%
-
1986
1986
4.38
28%
1.52
10%
0.04
0%
0.92
6%
2.79
6.27
9.07
57%
15.94
100%
-
1987
1987
4.40
27%
1.60
10%
0.04
0%
0.85
5%
2.90
6.42
9.32
58%
16.21
100%
-
1988
1988
4.72
28%
1.66
10%
0.04
0%
0.91
5%
3.05
6.75
9.79
57%
17.12
100%
-
1989
1989
4.88
28%
1.64
9%
0.03
0%
0.97
5%
3.09
7.13
10.22
58%
17.76
100%
-
1990
1990
4.47
26%
1.37
8%
0.03
0%
0.64
4%
3.15
7.24
10.39
61%
16.91
100%
-
1991
1991
4.64
27%
1.36
8%
0.03
0%
0.67
4%
3.26
7.42
10.68
61%
17.37
100%
-
1992
1992
4.78
28%
1.39
8%
0.03
0%
0.70
4%
3.19
7.22
10.41
60%
17.31
100%
-
1993
1993
5.05
28%
1.42
8%
0.03
0%
0.61
3%
3.39
7.68
11.08
61%
18.18
100%
-
1994
1994
4.94
27%
1.39
8%
0.02
0%
0.58
3%
3.44
7.70
11.14
62%
18.07
100%
-
1995
1995
4.94
27%
1.35
7%
0.02
0%
0.58
3%
3.56
8.03
11.59
63%
18.49
100%
-
1996
1996
5.35
27%
1.46
7%
0.02
0%
0.60
3%
3.69
8.35
12.04
62%
19.47
100%
-
1997
1997
5.09
27%
1.40
7%
0.02
0%
0.49
3%
3.67
8.27
11.94
63%
18.93
100%
-
1998
1998
4.64
25%
1.28
7%
0.01
0%
0.44
2%
3.86
8.69
12.55
66%
18.92
100%
-
1999
1999
4.82
25%
1.43
7%
0.01
0%
0.46
2%
3.91
8.88
12.79
66%
19.52
100%
-
2000
2000
5.07
25%
1.52
7%
0.01
0%
0.49
2%
4.07
9.20
13.27
65%
20.36
100%
-
2001
2001
4.87
24%
1.50
7%
0.01
0%
0.43
2%
4.10
9.08
13.18
66%
20.00
100%
-
2002
2002
4.98
24%
1.43
7%
0.01
0%
0.44
2%
4.32
9.57
13.89
67%
20.74
100%
-
2003
2003
5.20
25%
1.49
7%
0.01
0%
0.46
2%
4.35
9.55
13.90
66%
21.06
100%
-
2004
2004
4.97
24%
1.49
7%
0.01
0%
0.47
2%
4.41
9.70
14.10
67%
21.05
100%
-
2005
2005
4.94
23%
1.42
7%
0.01
0%
0.49
2%
4.64
10.08
14.72
68%
21.58
100%
-
2006
2006
4.46
22%
1.20
6%
0.01
0%
0.45
2%
4.61
9.91
14.53
70%
20.64
100%
-
2007
2007
4.83
22%
1.22
6%
0.01
0%
0.50
2%
4.75
10.19
14.94
69%
21.49
100%
-
2008
2008
5.00
23%
1.21
6%
0.01
0%
0.53
2%
4.71
10.08
14.79
69%
21.53
100%
-
2009
2009
4.88
23%
1.14
5%
0.01
0%
0.52
2%
4.66
9.80
14.45
69%
20.99
100%
-
2010
2010
5.06
23%
1.22
6%
0.01
0%
0.45
2%
4.95
10.39
15.34
69%
22.07
100%
-
2011
2011
5.05
23%
1.19
5%
0.01
0%
0.47
2%
4.94
10.45
15.39
70%
22.10
100%
0.1%
2012
2012
5.17
24%
1.19
5%
0.01
0%
0.50
2%
4.84
10.07
14.91
68%
21.77
100%
-0.7%
2013
2013
4.99
23%
1.13
5%
0.01
0%
0.48
2%
4.79
9.86
14.66
69%
21.26
100%
-1.2%
2014
2014
5.00
24%
1.11
5%
0.01
0%
0.49
2%
4.79
9.75
14.54
69%
21.15
100%
-1.1%
2015
2015
4.99
24%
1.08
5%
0.01
0%
0.51
2%
4.79
9.68
14.47
69%
21.06
100%
-0.9%
2016
2016
4.98
24%
1.06
5%
0.01
0%
0.53
2%
4.82
9.72
14.54
69%
21.13
100%
-0.7%
2017
2017
4.98
23%
1.05
5%
0.01
0%
0.53
2%
4.87
9.85
14.72
69%
21.28
100%
-0.5%
2018
2018
4.96
23%
1.03
5%
0.01
0%
0.53
2%
4.93
9.95
14.88
69%
21.41
100%
-0.4%
2019
2019
4.95
23%
1.02
5%
0.01
0%
0.53
2%
4.98
10.06
15.05
70%
21.56
100%
-0.3%
2020
2020
4.95
23%
1.01
5%
0.01
0%
0.54
2%
5.02
10.15
15.17
70%
21.66
100%
-0.2%
2021
2021
4.93
23%
1.00
5%
0.01
0%
0.54
2%
5.07
10.22
15.29
70%
21.77
100%
-0.1%
2022
2022
4.92
22%
0.99
5%
0.01
0%
0.54
2%
5.13
10.31
15.44
71%
21.89
100%
-0.1%
2023
2023
4.90
22%
0.98
4%
0.01
0%
0.54
2%
5.18
10.44
15.62
71%
22.04
100%
0.0%
2024
2024
4.89
22%
0.97
4%
0.01
0%
0.54
2%
5.24
10.55
15.79
71%
22.19
100%
0.0%
2025
2025
4.88
22%
0.95
4%
0.01
0%
0.54
2%
5.30
10.70
16.00
71%
22.39
100%
0.1%
2026
2026
4.87
22%
0.95
4%
0.01
0%
0.54
2%
5.37
10.78
16.14
72%
22.51
100%
0.1%
2027
2027
4.86
21%
0.94
4%
0.01
0%
0.54
2%
5.43
10.88
16.31
72%
22.65
100%
0.2%
2028
2028
4.85
21%
0.93
4%
0.01
0%
0.54
2%
5.49
10.96
16.45
72%
22.78
100%
0.2%
2029
2029
4.85
21%
0.92
4%
0.01
0%
0.55
2%
5.56
11.03
16.59
72%
22.91
100%
0.2%
In [43]:
# df.[variablename].cumsum()
Res_Primary_E_Consumption.TOTAL.cumsum()[:130]
#first 130
Out[43]:
0 15.72
1 30.95
2 46.43
3 61.81
4 77.71
5 93.73
6 109.67
7 125.88
8 143.00
9 160.76
10 177.67
11 195.04
12 212.35
13 230.53
14 248.60
15 267.09
16 286.56
17 305.49
18 324.41
19 343.93
20 364.29
21 384.29
22 405.03
23 426.09
24 447.14
25 468.72
26 489.36
27 510.85
28 532.38
29 553.37
30 575.44
31 597.54
32 619.31
33 640.57
34 661.72
35 682.78
36 703.91
37 725.19
38 746.60
39 768.16
40 789.82
41 811.59
42 833.48
43 855.52
44 877.71
45 900.10
46 922.61
47 945.26
48 968.04
49 990.95
50 1014.01
51 1037.20
52 1060.50
53 1083.93
54 1107.49
55 1131.18
Name: TOTAL, Length: 56, dtype: float64
In [ ]:
In [46]:
TestData2 = read_csv('TestData2.csv')
In [25]:
# pandas join function is merge
#merge?
merge(Res_Primary_E_Consumption, TestData2, on= [ 'Year'])
#simple join on year
#inner join is default
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-25-d073424a4fd8> in <module>()
1 # pandas join function is merge
2 #merge?
----> 3 merge(Res_Primary_E_Consumption, TestData2, on= [ 'Year'])
4 #simple join on year
5 #inner join is default
NameError: name 'Res_Primary_E_Consumption' is not defined
In [51]:
merged = merge(Res_Primary_E_Consumption, TestData2, on= [ 'Year'])
In [72]:
from __future__ import division
In [93]:
merged['NG'] = np.float32(merged.NaturalGas)
In [95]:
merged['TTL'] = np.float32(merged.TOTAL)
In [101]:
merged['RNW'] = np.float32(merged.Renewable)
In [101]:
merged['RNW'] = np.float32(merged.Renewable)
In [98]:
# Create a new proportion variable
merged['NG_percent'] = (merged.NG / merged.TTL)
In [106]:
#Create a new variable
merged['RNW_percent'] = (merged.RNW / merged.TTL)
In [ ]:
In [53]:
# total test.. Create a new column called TOTALtest,
# need to add the number of persons
merged['TOTALtest'] = np.floor(merged.TOTAL * merged.Col2)
#decimal numbers so use npl.floor
In [99]:
merged.head()
Out[99]:
Year
NaturalGas
NaturalGas_perc
Petroleum
Petroleum_perc
Coal
Coal_perc
Renewable
Renewable_perc
Electricity_Sales
...
TOTAL
TOTAL_perc
Change_since2010
Col1
Col2
Col3
TOTALtest
NG_percent
NG
TTL
0
1980
4.79
30%
1.72
11%
0.03
0%
0.85
5%
2.45
...
15.72
100%
-
1
0.229849
1
75
0.304707
4.79
15.72
1
1981
4.57
30%
1.52
10%
0.03
0%
0.87
6%
2.46
...
15.23
100%
-
2
0.003063
2
69
0.300066
4.57
15.23
2
1982
4.68
30%
1.42
9%
0.03
0%
0.97
6%
2.49
...
15.48
100%
-
3
0.418250
1
72
0.302326
4.68
15.48
3
1983
4.45
29%
1.33
9%
0.03
0%
0.97
6%
2.56
...
15.38
100%
-
4
0.689310
2
68
0.289337
4.45
15.38
4
1984
4.64
29%
1.51
10%
0.04
0%
0.98
6%
2.66
...
15.90
100%
-
5
0.432489
3
73
0.291824
4.64
15.90
5 rows × 23 columns
In [ ]:
# total test.. Create a new column called TOTALtest,
# need to add the number of persons
merged['TOTALtest'] = np.floor(merged.TOTAL * merged.Col2)
#decimal numbers so use npl.floor
In [57]:
merged.groupby(['Year', 'TOTALtest'])['Col3'].sum()
#for each year TOTALtest combo-- the total number of Col3.
#hierarchical labeling.
Out[57]:
Year TOTALtest
1980 3 1
1981 0 2
1982 6 1
1983 10 2
1984 6 3
1985 15 4
1986 3 5
1987 9 6
1988 10 7
1989 5 8
1990 6 9
1991 2 10
1992 5 11
1993 0 12
1994 11 13
1995 11 14
1996 17 15
1997 9 16
1998 15 17
1999 11 18
2000 13 19
2001 10 20
2002 0 21
2003 7 22
2004 11 23
2005 19 24
2006 17 25
2007 6 26
2008 9 27
2009 18 28
2010 19 29
2011 7 30
2012 6 31
2013 9 32
2014 17 33
2015 17 34
2016 12 35
2017 0 36
2018 16 37
2019 4 38
2020 13 39
2021 11 40
2022 20 41
2023 19 42
2024 7 43
2025 12 44
2026 2 45
2027 12 46
2028 5 47
2029 0 48
2030 1 49
2031 7 50
2032 15 51
2033 19 52
2034 2 53
2035 3 54
Name: Col3, Length: 56, dtype: int64
In [24]:
# Regression Test--
#made up independent variable.
import statsmodels.formula.api as smf
model = smf.ols('merged.TOTAL ~ merged.Col2', data=merged)
results_merged = model.fit()
results_merged.summary()
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-24-1dd5e67828a3> in <module>()
2 #made up independent variable.
3 import statsmodels.formula.api as smf
----> 4 model = smf.ols('merged.TOTAL ~ merged.Col2', data=merged)
5 results_merged = model.fit()
6 results_merged.summary()
NameError: name 'merged' is not defined
In [ ]:
In [84]:
#result = _ # underscore in ipython: the output of the last statement, because we don't want to compute again the same thing.
In [108]:
#result['Change_since2010'].plot()
#result['TTL'].plot()
In [23]:
#import numpy as np
#import matplotlib.pyplot as plt
# evenly sampled time at 200ms intervals
#t = np.arange(0., 5., 0.2)
# red dashes, blue squares and green triangles
#plt.plot(merged.Year, merged.TOTAL, 'r--')
#plt.show()
plt.plot(merged.Year, merged.TOTAL, 'rs', merged.Year,merged.NaturalGas, 'b--', merged.Year,merged.Coal, 'k--',merged.Year,merged.Renewable, 'g--',
merged.Year,merged.Electricity_Total, 'm--')
plt.ylabel('MMBtu')
plt.xlabel('Year')
plt.title('US Residential Energy Use (MMBtu)',fontsize=16)
plt.show()
#result['merged.TOTAL',
#'NaturalGas',
#'Petroleum',
#'Coal',
#'Renewable',
#'Electricity_Total'].plot()
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-23-0f641c68de85> in <module>()
9 #plt.show()
10
---> 11 plt.plot(merged.Year, merged.TOTAL, 'rs', merged.Year,merged.NaturalGas, 'b--', merged.Year,merged.Coal, 'k--',merged.Year,merged.Renewable, 'g--',
12 merged.Year,merged.Electricity_Total, 'm--')
13 plt.ylabel('MMBtu')
NameError: name 'merged' is not defined
In [96]:
mgirls = merge(girls, births) # inner join by default.
In [97]:
mgirls['persons'] = np.floor(mgirls.prop * mgirls.births)
In [98]:
gpersons = mgirls.set_index(['year', 'name']).persons # Select out persons
In [144]:
type(merged.TTL) # One dimensional series.
Out[144]:
pandas.core.series.Series
In [145]:
result = _ # underscore in ipython: the output of the last statement, because we don't want to compute again the same thing.
In [146]:
#pandas.DataFrame.mean
#DataFrame.mean(axis=None, skipna=None, level=None, numeric_only=None, **kwargs)
#Return the mean of the values for the requested axis
merged.TTL.mean()
Out[146]:
20.199642811502731
In [33]:
#pandas.DataFrame.mean
#DataFrame.mean(axis=None, skipna=None, level=None, numeric_only=None, **kwargs)
#Return the mean of the values for the requested axis
Res_Primary_E_Consumption.mean()
Out[33]:
Year 2007.500000
NaturalGas 4.853214
Petroleum 1.232321
Coal 0.016607
Renewable 0.599643
Electricity_Sales 4.341429
Electricity_Losses 9.158393
Electricity_Total 13.500179
TOTAL 20.199643
dtype: float64
In [34]:
#pandas.DataFrame.mean
#DataFrame.mean(axis=None, skipna=None, level=None, numeric_only=None, **kwargs)
#Return the mean of the values for the requested axis
Res_Primary_E_Consumption.TOTAL.mean()
Out[34]:
20.199642857142855
In [35]:
Res_Primary_E_Consumption.TOTAL.mean(axis=None, skipna=None, level=None, numeric_only=None)
Out[35]:
20.199642857142855
In [ ]:
Content source: PerryGrossman/Energy-Data
Similar notebooks: