From b84a16375efde571cba3c86e53856cad5c3fe602 Mon Sep 17 00:00:00 2001 From: Tommaso Verzegnassi Date: Mon, 29 May 2023 17:09:57 +0200 Subject: [PATCH] yo recipes --- Elaborated_Data/Not_Normalized.csv | 178 +++++++++++------------ Elaborated_Data/employees_over_time.csv | 178 +++++++++++------------ Elaborated_Data/normalized_data.csv | 180 ++++++++++++------------ indexer/indexer.py | 10 +- presentation_notebook.ipynb | 108 ++++++++++++++ 5 files changed, 381 insertions(+), 273 deletions(-) create mode 100644 presentation_notebook.ipynb diff --git a/Elaborated_Data/Not_Normalized.csv b/Elaborated_Data/Not_Normalized.csv index 5e478f1..de38c36 100644 --- a/Elaborated_Data/Not_Normalized.csv +++ b/Elaborated_Data/Not_Normalized.csv @@ -1,91 +1,91 @@ ,Ticker,Valuation,Financial Health,Estimated Growth,Past Performance -0,AAPL,2.8478,0.3300066233140655,8.02%,1.55 -1,ABBV,0.0,0.4558265192176074,-4.17%,1.47 -2,ABT,22.469,0.23799672210430156,-2.70%,16.58 -3,ACN,2.9116,0.06722571231732856,9.00%,3.05 -4,ADBE,1.568,0.17055034051168783,13.98%,2.39 -5,AMAT,3.8395,0.19448645675787157,13.27%,9.74 -6,AMGN,1.2905,0.6942628494138864,1.72%,3.81 -7,AMZN,2.2453,0.3043878047624995,-278.70%,-42.47 -8,APD,1.7767,0.3320219871311414,9.38%,1.68 -9,AVGO,1.1592,0.5382865599649199,8.30%,2.43 -10,BA,0.0,0.4062502291946284,93.80%,987.5 -11,BAC,4.1895,0.10656449190006939,3.36%,7.07 -12,BDX,2.4258,0.3350369526050667,9.85%,5.53 -13,BIDU,0.593,0.23549113544599592,2.75%,23.16 -14,BMY,0.0,0.4175920917257984,3.75%,6.57 -15,CAT,1.4198,0.4427787540795467,12.87%,16.75 -16,CCI,5.0871,0.7302196958058074,-4.38%,1.05 -17,CHTR,0.362,0.6762752812866708,16.84%,-2.77 -18,CMCSA,0.8061,0.36824333439977797,7.42%,9.12 -19,CME,4.0654,0.02071438551860043,4.53%,2.09 -20,COST,3.6281,0.1367131402584969,8.77%,0.74 -21,CRM,1.3911,0.142520409918158,19.56%,15.89 -22,CSCO,2.0002,0.08606670836366619,7.39%,2.59 -23,CSX,2.6633,0.43208447851873283,8.19%,5.95 -24,CVS,1.364,0.3195504115656207,4.00%,6.24 -25,CVX,2.7809,0.0905633873865484,-7.68%,7.46 -26,D,10.427,0.45626394493235223,5.60%,2.08 -27,DE,1.1147,0.5907551831779312,13.36%,6.62 -28,DHR,3.3251,0.23320790216368767,2.81%,12.23 -29,DIS,1.0753,0.23683722383309413,21.87%,2.8 -30,DUK,3.0382,0.43067554645954603,5.80%,-0.19 -31,EXC,2.5916,0.43109620840856333,6.30%,3.11 -32,FDX,1.3726,0.4440454677936462,4.78%,-3.7 -33,FIS,0.7185,0.327646615802744,2.05%,1.73 -34,GE,3.1891,0.1363210759278175,25.50%,25.71 -35,GILD,0.5725,0.40789643803736503,2.25%,9.03 -36,GOOGL,1.1345,0.0717094597703327,17.61%,-6.07 -37,GS,2.0757,0.19895968790637192,1.11%,0.86 -38,HD,1.7394,0.6470819260073836,2.05%,1.67 -39,HON,2.2588,0.3199906484311073,7.80%,3.59 -40,IBM,2.0869,0.4615188907263707,6.62%,2.02 -41,INTC,6.2729,0.27130159792340114,6.02%,-12.15 +0,AAPL,2.8478,2.0,8.02%,1.55 +1,ABBV,0.0,2.0,-4.17%,1.47 +2,ABT,22.469,2.0,-2.70%,16.58 +3,ACN,2.9116,2.0,9.00%,3.05 +4,ADBE,1.568,2.0,13.98%,2.39 +5,AMAT,3.8395,2.0,13.27%,9.74 +6,AMGN,1.2905,2.0,1.72%,3.81 +7,AMZN,2.2453,2.0,-278.70%,-42.47 +8,APD,1.7767,2.0,9.38%,1.68 +9,AVGO,1.1592,2.0,8.30%,2.43 +10,BA,0.0,2.0,93.80%,987.5 +11,BAC,4.1895,2.0,3.36%,7.07 +12,BDX,2.4258,2.0,9.85%,5.53 +13,BIDU,0.593,2.0,2.75%,23.16 +14,BMY,0.0,2.0,3.75%,6.57 +15,CAT,1.4198,2.0,12.87%,16.75 +16,CCI,5.0871,2.0,-4.38%,1.05 +17,CHTR,0.362,2.0,16.84%,-2.77 +18,CMCSA,0.8061,2.0,7.42%,9.12 +19,CME,4.0654,2.0,4.53%,2.09 +20,COST,3.6281,2.0,8.77%,0.74 +21,CRM,1.3911,2.0,19.56%,15.89 +22,CSCO,2.0002,2.0,7.39%,2.59 +23,CSX,2.6633,2.0,8.19%,5.95 +24,CVS,1.364,2.0,4.00%,6.24 +25,CVX,2.7809,2.0,-7.68%,7.46 +26,D,10.427,2.0,5.60%,2.08 +27,DE,1.1147,2.0,13.36%,6.62 +28,DHR,3.3251,2.0,2.81%,12.23 +29,DIS,1.0753,2.0,21.87%,2.8 +30,DUK,3.0382,2.0,5.80%,-0.19 +31,EXC,2.5916,2.0,6.30%,3.11 +32,FDX,1.3726,2.0,4.78%,-3.7 +33,FIS,0.7185,2.0,2.05%,1.73 +34,GE,3.1891,2.0,25.50%,25.71 +35,GILD,0.5725,2.0,2.25%,9.03 +36,GOOGL,1.1345,2.0,17.61%,-6.07 +37,GS,2.0757,2.0,1.11%,0.86 +38,HD,1.7394,2.0,2.05%,1.67 +39,HON,2.2588,2.0,7.80%,3.59 +40,IBM,2.0869,2.0,6.62%,2.02 +41,INTC,6.2729,2.0,6.02%,-12.15 42,ISRG,3.3782,2.0,15.96%,0.63 -43,JNJ,4.3545,0.21165238181643523,4.34%,4.52 -44,JPM,3.2773,0.12896465432169654,-4.33%,10.71 -45,KO,3.5034,0.43530039834093054,5.97%,5.0 -46,LIN,3.4208,0.23381232255815113,8.50%,35.35 -47,LLY,1.8737,0.3552019261516468,24.38%,-2.53 -48,LMT,3.2504,0.28559920910988246,10.89%,0.18 -49,LOW,1.2378,0.8692687837466825,7.48%,4.73 -50,LRCX,1.7507,0.2601092917188427,0.01%,10.79 -51,MA,1.5338,0.3998356276967331,20.29%,4.6 -52,MCD,3.6629,0.9219276110270812,8.57%,6.31 -53,MCO,2.0425,0.5378762144167403,12.21%,8.25 -54,MDT,2.4965,0.29880808209573584,1.04%,0.38 -55,MMC,2.2618,0.4360265440363234,9.73%,2.76 -56,MMM,4.4859,0.3460094697777588,1.64%,5.13 -57,MO,8.8684,0.6893770705479824,3.92%,0.0 -58,MRK,2.3138,0.28115610113594725,8.17%,7.5 -59,MSFT,2.3007,0.15923154637873335,12.54%,2.63 -60,NEE,2.5982,0.42720296086648885,8.80%,9.85 -61,NFLX,1.635,0.2917160508782066,21.72%,10.98 -62,NKE,2.0436,0.32814540136836057,8.56%,19.24 -63,NSC,2.9593,0.3826495442824683,5.47%,4.54 -64,NVDA,3.5519,0.28786848623184885,21.20%,-17.57 -65,ORCL,1.9008,0.6975459656587145,9.06%,3.73 -66,PEP,3.3521,0.44890479568366976,7.80%,5.74 -67,PFE,1.1173,0.17682107451636622,-14.94%,19.04 -68,PG,4.3277,0.30530408590666747,5.38%,1.23 -69,PM,2.4533,0.7592813406380922,7.40%,4.23 -70,PYPL,0.5571,0.1394518218093805,15.76%,7.28 -71,SCHW,1.6392,0.06864791979295796,9.80%,3.54 -72,SO,3.4609,0.4493306420493336,7.30%,9.94 -73,SPG,13.079,0.7646523728202831,8.60%,10.74 -74,SPGI,2.2617,0.1971656133109764,12.70%,2.88 -75,T,4.4541,0.3888937394137295,-0.64%,7.17 -76,TGT,0.814,0.3610930009587728,-7.51%,-2.33 -77,TMO,3.8993,0.372467197701198,8.57%,4.94 -78,TMUS,0.3603,0.5235163412997864,65.36%,6.97 -79,TSLA,1.6016,0.030817776651733787,10.66%,7.84 -80,TXN,3.0209,0.3465434633812457,10.00%,7.62 -81,UNH,1.5703,0.24883054438291166,13.04%,4.74 -82,UNP,2.7512,0.5308179723502304,9.01%,1.69 -83,UPS,2.4608,0.3656374239842635,3.62%,2.54 -84,USB,1.0216,0.1449638542916892,3.84%,2.21 -85,V,1.4973,0.26257002842072025,14.65%,7.49 -86,VZ,6.652,0.47213514915968613,-0.26%,0.4 -87,WFC,0.7586,0.13489874893977946,5.68%,-6.79 -88,WMT,3.6062,0.26062525249639873,5.36%,11.79 -89,XOM,1.809,0.11220696806192149,-10.74%,10.51 +43,JNJ,4.3545,2.0,4.34%,4.52 +44,JPM,3.2773,2.0,-4.33%,10.71 +45,KO,3.5034,2.0,5.97%,5.0 +46,LIN,3.4208,2.0,8.50%,35.35 +47,LLY,1.8737,2.0,24.38%,-2.53 +48,LMT,3.2504,2.0,10.89%,0.18 +49,LOW,1.2378,2.0,7.48%,4.73 +50,LRCX,1.7507,2.0,0.01%,10.79 +51,MA,1.5338,2.0,20.29%,4.6 +52,MCD,3.6629,2.0,8.57%,6.31 +53,MCO,2.0425,2.0,12.21%,8.25 +54,MDT,2.4965,2.0,1.04%,0.38 +55,MMC,2.2618,2.0,9.73%,2.76 +56,MMM,4.4859,2.0,1.64%,5.13 +57,MO,8.8684,2.0,3.92%,0.0 +58,MRK,2.3138,2.0,8.17%,7.5 +59,MSFT,2.3007,2.0,12.54%,2.63 +60,NEE,2.5982,2.0,8.80%,9.85 +61,NFLX,1.635,2.0,21.72%,10.98 +62,NKE,2.0436,2.0,8.56%,19.24 +63,NSC,2.9593,2.0,5.47%,4.54 +64,NVDA,3.5519,2.0,21.20%,-17.57 +65,ORCL,1.9008,2.0,9.06%,3.73 +66,PEP,3.3521,2.0,7.80%,5.74 +67,PFE,1.1173,2.0,-14.94%,19.04 +68,PG,4.3277,2.0,5.38%,1.23 +69,PM,2.4533,2.0,7.40%,4.23 +70,PYPL,0.5571,2.0,15.76%,7.28 +71,SCHW,1.6392,2.0,9.80%,3.54 +72,SO,3.4609,2.0,7.30%,9.94 +73,SPG,13.079,2.0,8.60%,10.74 +74,SPGI,2.2617,2.0,12.70%,2.88 +75,T,4.4541,2.0,-0.64%,7.17 +76,TGT,0.814,2.0,-7.51%,-2.33 +77,TMO,3.8993,2.0,8.57%,4.94 +78,TMUS,0.3603,2.0,65.36%,6.97 +79,TSLA,1.6016,2.0,10.66%,7.84 +80,TXN,3.0209,2.0,10.00%,7.62 +81,UNH,1.5703,2.0,13.04%,4.74 +82,UNP,2.7512,2.0,9.01%,1.69 +83,UPS,2.4608,2.0,3.62%,2.54 +84,USB,1.0216,2.0,3.84%,2.21 +85,V,1.4973,2.0,14.65%,7.49 +86,VZ,6.652,2.0,-0.26%,0.4 +87,WFC,0.7586,2.0,5.68%,-6.79 +88,WMT,3.6062,2.0,5.36%,11.79 +89,XOM,1.809,2.0,-10.74%,10.51 diff --git a/Elaborated_Data/employees_over_time.csv b/Elaborated_Data/employees_over_time.csv index 216437a..5d79e16 100644 --- a/Elaborated_Data/employees_over_time.csv +++ b/Elaborated_Data/employees_over_time.csv @@ -1,91 +1,91 @@ ,Ticker,Employees_over_time -0,AAPL,"[37376.653472053375, 46285.99144811846, 51441.24426379464, 61558.083471658676, 58907.38311263634, 67601.33974642337, 78133.03145013178, 90447.36485241847, 105018.28649449686, 129688.03180312812, 156569.24938667504, 164000]" -1,ABBV,"[27248.874340193106, 27552.39237111908, 25329.378309300493, 24229.460715240515, 27009.567208570257, 31059.673341866426, 32257.759396694128, 30011.387247618415, 34143.59094205851, 33799.28937126673, 41578.389196673495, 50000]" -2,ABT,"[91007.48710343671, 86868.75171395317, 93817.1623331741, 105047.67638738238, 98564.62584384151, 118992.1314737311, 135266.01670105054, 127526.1467181144, 116294.33295714317, 113003.84886759392, 116747.70043441781, 115000]" -3,ACN,"[243273.94377881405, 290087.4969981179, 343925.2594186647, 341669.11975675786, 415821.9435065691, 481734.41578104754, 494311.2717074493, 469703.9365311923, 514855.4322787341, 524893.7554318984, 647268.9157036883, 738000]" -4,ADBE,"[17726.403646993465, 16567.650711758204, 18329.439842507712, 17340.05259916847, 20007.941004025153, 24406.195004350684, 23106.685262763673, 22719.59564365903, 26638.135896237327, 24223.033279166484, 28386.396411308244, 29239]" -5,AMAT,"[11981.734185195062, 13554.654056730837, 14226.9991651384, 14649.703856998272, 15910.02708403942, 19339.90217030812, 20382.435942489305, 24008.273741077763, 27364.093480959342, 27813.028775570885, 27246.88500846486, 33000]" -6,AMGN,"[10128.930224553129, 12259.313225113365, 14387.302760224953, 15567.900191961, 16467.23382061571, 19453.4467901448, 21491.82329180788, 23962.02404326488, 22887.500003764275, 23410.18751537769, 25766.316337053584, 25200]" -7,AMZN,"[1262912.700243943, 1201928.3308559773, 1245970.8252602476, 1181847.028490609, 1304561.9453141615, 1221615.039806315, 1261468.8997341848, 1299701.5003163582, 1406278.9801054702, 1461105.4451448843, 1681676.2771212864, 1541000]" -8,APD,"[7786.644490555564, 8857.082988287897, 9142.43000132444, 9670.049447077987, 9383.460374810173, 11279.410992426756, 12126.890985622158, 14021.881230481304, 15650.694773264693, 17324.9765337677, 20724.13476817378, 19710]" -9,AVGO,"[8292.303379505296, 9819.104351514392, 10010.38157624642, 11523.899876911342, 12794.741767102136, 13139.15890579595, 15748.514650245996, 16830.007498527593, 18627.96619490903, 16936.287326630933, 18370.444985137205, 20000]" -10,BA,"[95930.45791529941, 102854.87471190048, 111500.18298496939, 124266.94742913038, 120500.43106732905, 110828.71716376691, 108315.1011590143, 135351.89227980666, 136226.13845666437, 131793.21645080685, 136842.59862416761, 156000]" -11,BAC,"[109788.55207052034, 100822.67315052185, 112679.34756263994, 126059.94359930868, 128148.08183462192, 142422.5097087328, 163307.8831649143, 155174.35421865247, 183644.4188782105, 167386.41336481116, 197693.8344233226, 217000]" -12,BDX,"[29320.57293755517, 34711.29483135434, 38803.2808813335, 37266.95045358426, 39953.20304823652, 48584.93230304006, 55858.004003931506, 65406.57409695402, 75329.7420659041, 78508.08283057253, 82852.82237290371, 77000]" -13,BIDU,"[31527.199089740803, 32974.14767678813, 34544.316410037405, 35833.33884363531, 37082.49558120737, 41817.77285198103, 38933.65737774911, 36642.213356244996, 41136.74614891428, 48793.42258773984, 45132.0985318714, 41300]" -14,BMY,"[18730.039952272895, 17863.59870351158, 19378.840730049244, 21660.17089125763, 23964.999146304566, 26770.617054708448, 30628.253008807995, 28512.44370457592, 31690.359642550673, 38376.76432314398, 37309.05310145302, 34300]" +0,AAPL,"[162537.1932420907, 173408.2036226203, 185899.2839798125, 173072.8241457419, 166641.8869155222, 158042.00009576458, 173492.5443402052, 158953.65132763208, 163713.41769258346, 173413.79406761666, 179497.8410016495, 164000]" +1,ABBV,"[23110.394236995908, 24669.89616346464, 25381.856772645628, 23227.14795466992, 28523.16371265731, 26227.213310013383, 31076.16528698497, 30416.80511813026, 32784.51826398731, 37067.319717996164, 42226.248807674914, 50000]" +2,ABT,"[59433.46384370793, 71462.08665187737, 65554.18786280286, 63602.60445977124, 59167.75027270551, 72569.1749409044, 74310.23418542315, 69898.93893828128, 82270.35426007208, 79101.06233687517, 98676.34244886189, 115000]" +3,ACN,"[457940.45915957267, 417050.52083332854, 470223.2983916743, 436387.666940778, 402230.3673661741, 502014.11835084227, 510561.80011054163, 605216.7215354508, 718098.3436746256, 732837.2313969329, 778181.585030334, 738000]" +4,ADBE,"[18265.626818891866, 19810.793413592168, 18026.050784994324, 20364.540842348513, 19876.60034074017, 20514.922812372366, 22289.072848081087, 24653.398959894992, 24960.995043993622, 26524.016195125194, 24299.706827304122, 29239]" +5,AMAT,"[21169.928252371134, 23005.27632658633, 21041.798988052622, 21383.85270589426, 24620.877726911498, 28855.996691901426, 27270.292357168073, 33081.387152833726, 30859.429946683795, 28536.346693143325, 31964.639164930835, 33000]" +6,AMGN,"[9809.352432962105, 10704.969537609453, 10411.138274510773, 12072.751676229807, 14334.043857517836, 16302.44218490711, 18177.534088253684, 19855.826178529234, 19081.807856737163, 19525.032934918843, 22003.255171001336, 25200]" +7,AMZN,"[853512.2642881571, 782013.209380588, 886460.1233791504, 962704.694607917, 1134996.42558453, 1166305.6330279864, 1354907.800046023, 1372724.0846441006, 1475316.4585741335, 1526997.541073723, 1575129.5785245467, 1541000]" +8,APD,"[20429.418425014093, 22183.288055100667, 20710.88895669418, 21962.38615435888, 23865.514223580034, 22128.918441165966, 22644.451449031694, 21843.566402050932, 23264.57400668641, 21247.735569020973, 19370.319450864154, 19710]" +9,AVGO,"[14204.850603157227, 14832.455459911325, 14333.10873805976, 15955.397477404627, 17081.532841253837, 17111.717966903056, 17774.965054261495, 18196.916553592433, 20413.625472100895, 19371.330220826556, 18156.52918436218, 20000]" +10,BA,"[62907.20779738344, 74952.97102134438, 71854.57766503327, 88016.1026435892, 86359.98504254057, 90496.49022342416, 106262.30658338111, 97714.57205675845, 112570.76494096723, 122047.47011676194, 130910.11983012495, 156000]" +11,BAC,"[110500.57760116247, 135505.179642131, 135430.72318315666, 139888.06619645446, 170666.74532294628, 187713.3470059121, 183187.73169698473, 170036.9632605576, 184657.14111092268, 189116.02853215017, 177955.3224744831, 217000]" +12,BDX,"[39992.8893022335, 45104.61509315767, 54171.52581869855, 61448.237221811854, 72079.52929784845, 66662.4179887572, 73096.85705509887, 75125.15171750175, 76265.26064885878, 79723.77132043066, 80841.59306120763, 77000]" +13,BIDU,"[17695.78969182942, 21472.838980553708, 26439.700589224856, 27927.819067090935, 28664.072305583668, 30252.73911158321, 35737.474685497255, 32982.995849083454, 31154.004280874993, 30761.072335876604, 35311.82033787512, 41300]" +14,BMY,"[26154.93662226624, 23822.377432828744, 21828.996619781115, 20067.76156884313, 23069.322886484068, 25123.92836655188, 24115.062126731267, 28685.23665542, 26431.38329432667, 29971.681880402415, 34971.22936284784, 34300]" 15,CAT,"[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0]" -16,CCI,"[2478.6486645046216, 2332.931023959222, 2383.018904073811, 2862.7029961879443, 3386.819086609915, 3530.939106291271, 3269.0485041862894, 4016.5167319313523, 4003.905877471787, 4656.225259225498, 5144.095635752933, 5000]" -17,CHTR,"[69957.17854789495, 64169.85681114289, 76130.77221659043, 91668.61908186701, 98503.90303307741, 96687.24910287022, 90396.938024362, 90237.78999014245, 87139.08452889697, 90715.3298038195, 103653.66044541102, 101700]" -18,CMCSA,"[76583.79843178942, 76640.43261032672, 77507.44159083326, 75339.9550187835, 75057.05280120418, 91443.19269492234, 112353.235605016, 111652.26313362899, 133831.78772686052, 137923.0998789482, 155028.7563830565, 186000]" -19,CME,"[1695.8607500282299, 1555.2578618033622, 1511.6772028278356, 1702.356280800502, 1918.7958810311336, 1979.8104210126498, 2245.922299906653, 2427.9232337321237, 2633.5459462730178, 3196.0427672456353, 3575.2919630758724, 3460]" -20,COST,"[141080.8215930282, 168928.61688963827, 154696.7803178296, 184734.77915698863, 200712.7911585126, 186593.7207138589, 202131.23306210845, 221629.40844824535, 236660.1375376948, 261178.52939112243, 295082.3394180682, 304000]" -21,CRM,"[31521.68249005174, 37872.683395298925, 40544.981886719426, 45173.55973526879, 53741.49248074452, 53234.89881682681, 48913.26799424667, 59110.672613216884, 60017.64425270233, 65035.99716968226, 67177.94380198605, 79390]" -22,CSCO,"[56161.22931362685, 60487.790704288906, 72810.95780036045, 75319.74734320212, 88606.09080325178, 81965.28623762602, 81100.14025341002, 79971.57119147842, 80979.04308527082, 83450.59814628646, 76706.29565709407, 83300]" -23,CSX,"[14107.449941718987, 15388.707393879658, 16775.158244134407, 17598.32932297002, 16447.26332255629, 15373.095148511027, 16201.964047564921, 20142.18126329782, 19915.616251535183, 22601.479797913315, 22403.76184838373, 22600]" -24,CVS,"[113689.24318518539, 123904.89879007099, 140010.11963720722, 162630.18817984016, 171911.94389244064, 162981.26499766688, 170029.08148426522, 154792.50162757386, 166529.3691503729, 171463.01137455096, 211331.92350526483, 219000]" -25,CVX,"[29889.972446621054, 35875.96274683845, 40296.6469047362, 36641.83769861137, 34151.7729151963, 35723.20719784767, 32673.086457525125, 32777.12549396194, 32153.300580630224, 34927.58655686684, 41954.281156881, 43846]" -26,D,"[11065.561372328602, 10609.162626642854, 12924.463610547486, 12952.598535612988, 11913.291130275536, 10930.255810895458, 12999.664985394113, 12763.689925454828, 12225.158992173068, 13092.02305596109, 14561.38603085286, 17200]" -27,DE,"[83190.83775779938, 76485.38128632389, 72514.73418486517, 69953.56392931196, 75015.63669064647, 75173.35267295383, 68621.52208668888, 75195.8746541862, 70716.28876329455, 81221.30541048077, 84614.09552503267, 82200]" -28,DHR,"[61859.48115348895, 75194.58757143168, 71734.94977115377, 67326.13537365444, 64020.46503377172, 77841.75035163634, 77329.58401960216, 72958.77419648619, 69197.19469179977, 66111.7866777467, 68616.07375403473, 79000]" -29,DIS,"[57434.87208177767, 57077.407219542, 70138.27648064846, 85662.86703926872, 106097.82905610868, 118885.9984458549, 118436.03965713942, 109050.30870818491, 128252.86365017557, 140042.01332754895, 149155.09927440612, 171600]" -30,DUK,"[21001.82298441612, 21822.956931464152, 20609.482679605826, 22851.501285946222, 21080.31466129093, 20056.527700854265, 18684.81639163934, 17250.11432533056, 17804.903744268428, 19795.132642054585, 22622.704477311676, 27859]" -31,EXC,"[12304.898847232142, 12247.96302429564, 11218.748162316408, 10220.067645391931, 10872.559762590012, 12924.200554091489, 13684.988373707953, 13672.366092924909, 14350.558292911104, 17454.018186281373, 20901.712629228954, 19063]" -32,FDX,"[283574.1401841164, 288135.55228087254, 283876.5009297416, 334311.5946559014, 350050.429019722, 352128.98364916, 411828.8413652582, 429102.98814744054, 393569.1570439457, 367529.5774692927, 363475.49221905577, 345000]" -33,FIS,"[49661.52932443628, 61423.551141774646, 57560.87917658287, 62190.23080402449, 65767.91472647783, 69158.04300737045, 69022.20061653024, 69565.70435482617, 66077.00728464505, 66568.21949800193, 62323.553424302256, 69000]" -34,GE,"[88286.77825717992, 89576.013268048, 96908.3720605091, 97189.4643677054, 104461.77857469267, 99578.02341116025, 103915.55007494162, 126749.30707187034, 126193.14092399493, 143714.9521048132, 141698.73559765372, 172000]" -35,GILD,"[5112.620339966871, 5560.869545156425, 6362.919028959384, 7598.210394333002, 7057.783292409029, 8802.976293416636, 10106.81456533497, 11111.77059525413, 10980.837893105894, 13515.017713045756, 16439.421715714838, 17000]" -36,GOOGL,"[110764.18536977956, 128407.62990562206, 120374.33364260591, 136158.775440003, 131840.9848219615, 161711.95138527543, 168891.73225563776, 162113.52447833627, 153497.56675396036, 180759.3732936869, 208042.6250805318, 190711]" -37,GS,"[15696.859356736479, 18736.859943526848, 22256.720629896172, 22781.39925266055, 24121.491737397017, 28395.774882792175, 33912.036971275505, 37732.90507861896, 46086.55278862052, 43182.50238738648, 43183.26732535059, 45400]" -38,HD,"[242180.32808958757, 295249.22738735913, 333745.4038543743, 406282.34373528464, 405201.67986018397, 371374.4690992982, 386761.03290403634, 449850.76516733866, 494091.73126113677, 459487.6057821262, 507307.2632258828, 475000]" -39,HON,"[35569.82890729972, 43359.49013915954, 52779.89082389324, 63572.56543727999, 69432.00106560827, 69700.68837630955, 68321.91355289343, 66849.7961647325, 82706.2297897195, 91521.50133592654, 96199.67706496897, 97000]" -40,IBM,"[172250.7029087562, 165096.2001715925, 181973.63293164596, 173716.0808916395, 159667.4168721648, 169139.74570198063, 206153.37810726961, 242164.01800847435, 224233.47241184616, 271911.25753501506, 304576.48462549417, 288300]" -41,INTC,"[72150.5565881803, 69219.80663449835, 82331.40096817951, 84074.3029513713, 89048.0340654775, 89664.5615444384, 109996.84837612508, 131252.15336943354, 140503.74587645946, 136397.02792717202, 135973.26089036325, 131900]" -42,ISRG,"[7082.487269546867, 7490.043478401676, 7857.499709018875, 8601.868600868454, 9560.634579170905, 11489.577545671844, 10488.791519608643, 10394.257209578567, 9899.242810035006, 10791.988342897792, 12272.049345900927, 12120]" -43,JNJ,"[96823.27878139642, 93450.57031711581, 106959.72056090596, 116319.86849629143, 129196.7642813974, 141471.95592373708, 162727.4788053953, 188057.75615080618, 174046.56556493996, 165142.45387084788, 163911.95758019635, 152700]" -44,JPM,"[171741.16926123662, 169965.8517681734, 164121.54865229962, 186654.7523364323, 176047.00711757975, 187455.48347915115, 187073.7952827632, 231950.3599807513, 219038.1106683549, 257669.11670405575, 270310.15744240384, 296877]" -45,KO,"[31589.890613840285, 30008.359662809344, 34019.07909580357, 39833.50257259313, 38271.04377621541, 35150.663366681605, 38538.45769346719, 47583.55016464215, 57678.32314117908, 69775.614102855, 78993.78661188702, 82500]" -46,LIN,"[22478.03280813461, 22479.267576071717, 23643.383070924992, 22934.173710822364, 27757.148514155757, 34464.68311141385, 39283.73192429219, 44459.49822270715, 42387.99839199849, 44556.29683182735, 52856.776525780006, 65831]" -47,LLY,"[23039.26184920127, 21039.97789923028, 25139.64349263065, 25381.79055140313, 24144.57180067084, 26774.72502859796, 27263.99986259143, 25882.290624139932, 25690.255695259228, 31276.519008898922, 34879.939148707905, 39000]" -48,LMT,"[52575.19180941439, 61141.93775165807, 58084.72345279735, 71139.02473864765, 68083.8987083759, 78346.91768866748, 84972.05431142903, 81627.22155943827, 86950.38334146905, 100687.07214745141, 121508.82522870248, 116000]" -49,LOW,"[141079.02214379812, 129358.33352843832, 131219.77604686804, 130811.15568106384, 127432.30417574506, 156678.19759658512, 150906.84556192436, 158320.7317414685, 145441.537636459, 155384.90898738021, 149087.6949708557, 182000]" -50,LRCX,"[13692.032822175654, 16035.750604249086, 19460.33158248915, 17892.420050548044, 16527.424393710473, 16547.644098062305, 16673.396739214062, 16745.71177879537, 19863.928224766143, 19111.4883378734, 17577.35272473082, 18700]" -51,MA,"[12896.446856878365, 13931.727566803105, 16794.743674612622, 20460.28223143019, 22709.23025902737, 24171.794277781515, 22613.345002989114, 26065.963789574507, 27585.73313696502, 28433.930923034113, 32111.483656379438, 29900]" -52,MCD,"[25383.99960217051, 30420.82644415889, 32998.92664574472, 39389.18636471288, 36893.11709634348, 39267.67157033389, 48849.05550107935, 59638.771101937964, 68300.65614110998, 80589.01345554431, 98941.48012010418, 100000]" -53,MCO,"[6918.684349367145, 6373.424647939011, 7376.220768008974, 7279.162603456331, 8226.338011827633, 8242.813507896808, 8483.71133303573, 7966.915129554216, 8507.22466614147, 10167.709863655165, 11750.46263816949, 14419]" -54,MDT,"[92240.63446437614, 88043.96295245948, 91675.9222538346, 84491.50018401892, 81852.04486386533, 96837.33537727827, 110046.3877616812, 104574.67405187323, 104270.45166821346, 96409.3991480993, 101013.33284026192, 95000]" -55,MMC,"[35040.27822593109, 35352.48163344647, 41479.920658955045, 40881.65410363834, 46148.51548626721, 50732.26588836174, 60395.18998626654, 72311.33289154668, 76763.72432771104, 86803.34232062906, 83787.81267328908, 85000]" -56,MMM,"[34213.00428262814, 42273.2740859146, 47852.28931364622, 43996.89337268563, 44881.75385700435, 54715.679033500455, 64460.94903442014, 68287.80607508625, 63768.91801327956, 75599.6136757368, 80618.87736705257, 92000]" -57,MO,"[6374.636623153354, 6294.35066899607, 6002.796095347982, 6101.385099601543, 5849.196397780093, 5465.646491612609, 5387.349678786005, 5571.821884627261, 6401.797015855663, 7118.095145269025, 6889.438449073565, 6300]" -58,MRK,"[21182.286219876387, 22359.6551882132, 22297.10121305003, 22690.918256858786, 24983.12159011486, 30085.63056579128, 32679.4054592127, 37570.20834737801, 42972.11181985115, 48490.156122194094, 56569.25246195806, 67000]" -59,MSFT,"[78829.7836837189, 81145.10839826186, 99343.15895657339, 105518.12344248196, 119748.54128219449, 143870.03517311774, 173990.1269896685, 176151.00724121468, 193556.61350616225, 213622.1373836277, 218045.34012654697, 221000]" -60,NEE,"[11633.624092913395, 11425.246482909359, 10465.45133264587, 11112.777948125535, 11386.143083471276, 10845.920628782955, 12132.850173293038, 11710.269684927564, 11170.367123026828, 13566.329875748903, 16206.023234829736, 15300]" -61,NFLX,"[4178.204546727604, 4582.3395391758495, 5474.09908574788, 6217.981854862019, 5808.869408692148, 6312.877320718153, 7865.3492362060915, 9122.378364417396, 11372.860967102677, 11972.64440980126, 12808.746337708375, 12800]" -62,NKE,"[69107.51329636574, 65103.64861748011, 74728.23056397004, 85044.13620570659, 83743.17783709482, 84718.06888837769, 79031.19861932874, 76008.66625117348, 93208.8004750245, 88463.43937156233, 84173.95870916655, 79100]" -63,NSC,"[5797.915559828853, 6412.430339929437, 7168.988875904804, 8219.275072503237, 9634.747606169884, 10380.414296405124, 11655.55154119694, 11753.669412721893, 13677.460696293354, 15655.71585030931, 19208.8766023359, 19300]" -64,NVDA,"[8724.531462423816, 9411.595930122643, 10183.534207052217, 10113.948547004915, 11321.064665997079, 13218.404905511557, 16514.89477843869, 18015.762086820647, 20737.436401517207, 24558.85554150588, 27445.27322799654, 26196]" -65,ORCL,"[117586.1513280567, 112296.24388047827, 108459.48981464471, 118586.94488582878, 109357.13678165064, 107177.39889169781, 100364.04135970103, 122018.75544289972, 134521.00124540483, 133817.33286230912, 148933.49533598617, 143000]" -66,PEP,"[287807.1441795936, 281481.2913944911, 294925.2616816546, 270031.1514010457, 259398.12988018474, 253864.24273006918, 279105.21357112157, 254632.77396709716, 305080.4798155455, 289719.2547776374, 330004.929720129, 315000]" -67,PFE,"[33773.441348581175, 39977.26500655848, 49150.46460746706, 58765.81194813365, 53541.099344839204, 50325.649832081646, 62885.10738748588, 64177.22463541341, 76545.54648485048, 84634.94190085062, 80427.85942705172, 83000]" -68,PG,"[57285.60680131212, 62172.210446453755, 69316.910240916, 76473.9673840772, 85834.3155662125, 83106.0331013859, 92912.45977280042, 88545.2844408215, 87316.20173287395, 80828.30526076742, 96331.44696820763, 106000]" -69,PM,"[38460.78880040101, 39080.458255117774, 46915.80727845234, 56263.817818340394, 53767.920222253146, 50143.22216302974, 52901.206444105075, 63937.029449149304, 77463.7473256362, 77893.51145959212, 85047.02612532911, 79800]" -70,PYPL,"[28740.023236044464, 27497.462115875835, 25664.96672618889, 24553.163502654148, 29712.263162492094, 29328.20270445575, 27385.796082262914, 27210.1197887856, 26028.75378098792, 27698.101122759443, 29407.060810001673, 29900]" -71,SCHW,"[14974.351203126898, 14734.615844496318, 14896.113936846436, 17960.665072772423, 21535.362103921376, 26747.558968374928, 30210.51569710676, 33211.86886285187, 31188.343844058043, 37154.2121616471, 35416.69347012884, 36000]" -72,SO,"[11408.355778490346, 13299.220898817919, 13246.254530481347, 16107.940624694176, 15247.332789902772, 16935.60994227492, 17393.992683857938, 20200.976927598833, 22427.859706502833, 25210.574442975623, 25057.246736073066, 27423]" -73,SPG,"[806.4709684890577, 1002.6413503504575, 919.3756699624829, 902.4829637554855, 1097.574600029408, 1023.3995859727487, 1144.010238780022, 1420.2011238621521, 1758.5322771295694, 1841.5701646686614, 2201.08049640619, 2500]" -74,SPGI,"[21073.08398679488, 19939.899287176402, 23954.232771904753, 22790.04792741083, 23078.071311661122, 26519.93132566187, 29807.661133853744, 36484.94281957544, 33400.31906222242, 37995.0981682883, 42230.89411352678, 39911]" -75,T,"[102339.1096079332, 118418.09089988598, 113518.04792926734, 105430.56084586156, 97951.24098463492, 95688.82286007528, 99847.84493515795, 104829.06836303437, 125536.53741938109, 123988.85953233467, 126884.44018188641, 157790]" -76,TGT,"[304495.70482659235, 302436.87050200475, 296631.1910612401, 338531.2316770236, 325527.06512285455, 309720.29920967016, 358693.05264457944, 337014.2082265742, 339239.27088469086, 361550.2377799674, 372187.59776298946, 440000]" -77,TMO,"[83397.29087627522, 79294.14612532857, 73141.94239863659, 76595.2716460654, 73946.469783273, 80007.52768253784, 95504.68731454214, 110470.34252809698, 126003.15760101152, 134280.92267411173, 134431.30131778438, 130000]" -78,TMUS,"[44175.728219524826, 53780.40004471222, 54303.868935871316, 55770.606282466964, 62775.38996931439, 58925.11851598187, 65068.55435417281, 59890.01430786608, 63608.83874082306, 60064.46430945932, 72748.30565353038, 71000]" -79,TSLA,"[77085.67496904431, 73564.25168675181, 69050.31317904039, 84219.04856518569, 78644.11087333788, 89716.58170694468, 99359.89621667576, 103495.20018230406, 110154.79461608817, 109377.6632642844, 119508.47445599674, 127855]" -80,TXN,"[11248.948908076536, 12826.707241348078, 15257.732092303155, 18310.824186124526, 17665.48960949406, 17811.570170239454, 22131.911242510683, 27084.76893032851, 26842.39192050624, 29691.86773820477, 34875.365624663995, 33000]" -81,UNH,"[241326.84986068433, 266944.67240573897, 292200.43925300223, 272719.17722684675, 328583.07258551137, 408212.18133926956, 447012.6435394186, 503003.98707231483, 464792.7956393309, 441820.1857844482, 410853.64433379064, 400000]" -82,UNP,"[24362.736977626977, 24358.139503275735, 26485.54808799573, 26213.148871232523, 24475.657857111015, 23859.559924945806, 27470.401670414285, 27759.760110976968, 27109.41486895098, 27076.84099639224, 26166.894807191667, 31471]" -83,UPS,"[308485.0348874897, 289465.1611288228, 344987.71274718177, 408183.54979620746, 389204.7526185665, 356667.6671536764, 408406.62294039247, 406278.1914804315, 421928.29585179145, 471123.47080223996, 534674.8722135361, 500000]" -84,USB,"[23120.97050212795, 23217.695990594722, 21952.789611869906, 24606.949355493358, 30734.538753977475, 38408.90209098055, 46465.03919626805, 52915.45961385952, 54153.41857503356, 59786.42472953617, 73765.63389642612, 77000]" -85,V,"[11642.520863424239, 11242.211806897922, 13556.56411687614, 16399.698727314906, 19339.98986791529, 24058.725606647025, 22869.720647917893, 21544.463997193197, 23008.950142932943, 23533.42891109885, 22294.527479412758, 26500]" -86,VZ,"[60036.541937499205, 56902.535477550686, 52793.46668161795, 57680.301219498186, 65939.92770315625, 73283.34659120803, 81392.22104536461, 95851.54457850248, 115146.00607619798, 121154.26040380826, 112157.92368579193, 117100]" -87,WFC,"[114425.89541783254, 110741.7346563182, 108076.68170617217, 111909.81892624176, 136145.18767944936, 139204.8471033367, 135264.39585696912, 137753.49903813592, 158579.5657263451, 165580.4234469212, 202657.08746887173, 235591]" -88,WMT,"[968208.1901350885, 1122888.5905228357, 1320464.9449870964, 1631019.4576643016, 1543250.2734321787, 1423385.9772589318, 1348809.2695742815, 1251919.543965041, 1450309.5533156637, 1750437.4445979178, 1938506.9266443113, 2100000]" -89,XOM,"[35530.54142978131, 39649.13683973145, 42847.07607433501, 44909.315610500584, 44697.07181876515, 41758.59356554042, 46454.031192164504, 56985.747670192344, 53087.72032008664, 51969.04625077311, 52274.4456565054, 62000]" +16,CCI,"[2345.9881770652664, 2429.6994484761303, 2727.2752265291588, 2731.661098141958, 3307.789314179742, 3713.834936373605, 3860.2475878740315, 3918.3636446415735, 3728.5664019869664, 4605.763567713249, 5001.512996498973, 5000]" +17,CHTR,"[77858.50046799572, 86541.53947352804, 83300.45906190561, 78330.58641223214, 89689.97252336086, 94995.290860483, 87686.5214975013, 103372.65137381759, 100504.22715144954, 105675.33325276997, 110590.98843727238, 101700]" +18,CMCSA,"[87328.06979792903, 106827.65572686843, 103223.38583616869, 111867.94361987337, 128497.14234875029, 136666.81177136768, 130200.6695308158, 134739.60034229624, 141713.71523951, 166626.17520309365, 156418.2487522376, 186000]" +19,CME,"[1606.4349336060811, 1571.8167685762687, 1523.9189538132987, 1585.2260113710224, 1444.9846073764122, 1549.749314448994, 1753.6713215105392, 1986.3960315624518, 2198.8081169454827, 2526.183358362214, 3001.309141703752, 3460]" +20,COST,"[111991.74386780224, 111181.0124565072, 133565.9204963046, 137721.18396880117, 161343.0851182531, 192385.82911728142, 214432.68842415413, 229083.42876344777, 208694.55883165982, 245069.18465973152, 270655.43301001104, 304000]" +21,CRM,"[44020.646196350564, 42140.66960617884, 45528.868805812184, 53533.57225627451, 53281.750457053, 48705.15916730034, 53531.798718294645, 60142.336621348106, 70939.93032881888, 67702.97193520344, 69390.11118411666, 79390]" +22,CSCO,"[53989.33715774323, 50573.25080916847, 53958.53626103219, 58322.02169423053, 64240.6783365827, 64867.316969056425, 59177.2574397015, 67816.22320513829, 83178.10058753012, 95526.22427782929, 90991.84206105932, 83300]" +23,CSX,"[14638.655490451605, 13527.238867067354, 15477.872440312574, 15035.168280753358, 15664.116257554904, 14942.292515990284, 13934.744739187163, 16827.961095592782, 21021.588055194872, 25444.493582270014, 24757.75154876558, 22600]" +24,CVS,"[126825.38958286602, 116579.81888915857, 128031.89044074468, 126930.94527035319, 149774.33437944518, 149163.63928403956, 179183.58555951645, 168934.13302519696, 156587.58631151618, 194837.78214364845, 210464.12863841717, 219000]" +25,CVX,"[38440.49353792684, 35469.545529698764, 35605.908166807654, 36616.795825933434, 34923.43565814864, 35331.454285921754, 32763.787386610413, 34892.480405125956, 39143.80744584547, 38559.42724341374, 40908.021618979554, 43846]" +26,D,"[7954.5303622682795, 7855.1882440324025, 8696.786933330957, 10558.525105666953, 9911.399487519464, 9788.186179536544, 9877.693364091576, 9799.935462765765, 11732.567763368068, 14335.355358486067, 14552.16458812641, 17200]" +27,DE,"[45197.98471541788, 43880.816180875, 52907.67173925614, 50219.761561311636, 61552.747717884195, 74207.32818742191, 73035.94476623565, 78780.44661301486, 77275.5898499734, 70776.27124665586, 75215.96463152565, 82200]" +28,DHR,"[38408.89935256394, 41613.39822292939, 48920.624875993264, 54861.49895731699, 52765.6205196256, 53892.59366252814, 64482.49729932762, 74988.34112789169, 76051.57082985995, 76799.87022581634, 75039.18627529098, 79000]" +29,DIS,"[110386.14529949237, 136241.87107291998, 148413.0377107765, 135921.8645129766, 146052.28553560807, 135364.83130274666, 143330.45829394675, 131922.92268746483, 139039.83447862172, 126854.81490177705, 153971.39407848773, 171600]" +30,DUK,"[15208.711128881303, 15832.951023018944, 17349.248805048574, 19347.91086889209, 19882.956227849983, 19415.654321174137, 20876.946606536356, 19187.33511478343, 18311.429240161557, 22433.071606351892, 25929.65753610944, 27859]" +31,EXC,"[9135.178803100165, 10132.083806172564, 11567.812062272296, 12888.907689787386, 11966.122298067654, 12684.334312182176, 12984.780365539855, 12230.25129865183, 13426.966563699378, 15474.226637278354, 18793.599053415983, 19063]" +32,FDX,"[197644.3887388502, 220555.14676106203, 244649.13277420917, 269556.94893017266, 266698.16841002874, 296072.61440082494, 297491.0794393629, 359783.8895106377, 375003.88124374405, 366991.1302523641, 353369.2121225371, 345000]" +33,FIS,"[43468.78990481129, 40183.65038354455, 46768.02568921943, 52481.68298679572, 63933.793925201346, 64649.46992284591, 74636.84750756611, 76641.63987747033, 71934.86721909577, 71757.0287613977, 75034.77995921182, 69000]" +34,GE,"[45266.351506881954, 45371.641606757585, 56632.24190860918, 59768.11172744047, 68519.08206384552, 81123.96098496807, 83841.75879703317, 97919.89954672499, 119919.39537804382, 128542.8707190003, 160474.41617128247, 172000]" +35,GILD,"[10677.029721877658, 12883.30340185279, 14539.682779677223, 14337.149743369615, 13727.588210599615, 13888.772362793032, 17292.61582083542, 17837.315523453835, 16716.099095496047, 16939.153587199427, 16243.0579538483, 17000]" +36,GOOGL,"[130324.58254913037, 131078.32917760336, 135921.78047671606, 134246.5598594514, 166561.5425943509, 186560.57262018096, 175138.1620105113, 205734.75433047526, 189523.13561277065, 190533.82510388616, 179535.00390962054, 190711]" +37,GS,"[23931.775304836894, 28010.613849791727, 25837.479120249933, 30109.5668316087, 31030.92232944521, 30517.105125438105, 29496.673735151853, 29349.71694403272, 32853.9448715336, 32010.984240506015, 39467.93065989157, 45400]" +38,HD,"[331439.750225303, 335403.43037835706, 355517.27370064455, 377412.27307101304, 404205.84275513695, 393924.0378877346, 402658.8411394787, 400039.8776430974, 393190.05113060714, 396781.9927498074, 468954.39114651794, 475000]" +39,HON,"[36885.661089748406, 40688.57794832017, 49108.08651821288, 59459.01650822328, 56106.12133459709, 54248.11588250453, 64163.87654299273, 67441.54855361916, 78441.50267396955, 92093.12502805686, 102857.87453558412, 97000]" +40,IBM,"[188957.49577373947, 194324.631841397, 199264.20107499987, 204370.3450824231, 211149.26074949114, 236254.66341049623, 237223.65815821686, 222878.57025766006, 265422.54383305996, 309816.8686336703, 291918.31811949273, 288300]" +41,INTC,"[57317.34896271609, 62446.1902010113, 68181.10372810155, 69843.53708205486, 77163.73935891424, 88664.79510030482, 101216.43949939402, 107954.05662265631, 101016.49234930568, 95249.73154116685, 112375.04431953849, 131900]" +42,ISRG,"[5009.4798430604205, 5936.263724720511, 5699.741849203498, 6592.503779703993, 6875.9664393793555, 7864.674288452858, 8362.121643929862, 9494.65570380883, 9357.07692099149, 10973.464552941623, 10019.998150118427, 12120]" +43,JNJ,"[94607.8134127124, 114559.35475827326, 133203.85953535102, 135044.7525195569, 136161.8135078451, 124290.76453154837, 146704.78277961796, 154412.68224708948, 156990.52835123113, 162127.79230167577, 149137.67374755396, 152700]" +44,JPM,"[174508.8080359456, 184986.75826641382, 172193.5050823497, 163476.054318236, 163285.74757882152, 195093.26454871823, 216953.48063275518, 248242.57065289983, 275962.150745146, 271127.9804882132, 302350.08149180264, 296877]" +45,KO,"[61168.39770369202, 60301.44802066855, 59228.70569833631, 62791.279959699066, 72188.73842783833, 74380.25600144741, 71997.90260237166, 87498.23777987622, 88945.16980203701, 83284.51978608686, 82594.6616791262, 82500]" +46,LIN,"[35125.80855204561, 39091.49728534108, 35627.35843300032, 43820.92460310682, 48879.98955770703, 45383.4834729901, 47604.16285078929, 43954.17019744252, 42650.69518378656, 52841.556763591754, 60873.58053931144, 65831]" +47,LLY,"[23969.32478071953, 22423.018603357516, 28008.44490991086, 25499.38246598035, 31829.59473122382, 28973.5167008408, 33842.90805658199, 31004.882003364284, 28712.604682718862, 35685.64692488923, 39167.440112045086, 39000]" +48,LMT,"[84343.31802198148, 99754.35097310551, 106439.6073115656, 112233.80284170156, 139095.43114426621, 132620.73766375252, 130829.28470784205, 128610.15886363026, 121057.76139160775, 125185.88734439207, 113859.05691477834, 116000]" +49,LOW,"[119160.82521246566, 142727.29059737647, 159605.52832814422, 164619.7145296172, 176553.30937450213, 179770.26944178354, 171045.98722404233, 190428.13558005818, 202830.80489991396, 186411.590084817, 170974.74585660434, 182000]" +50,LRCX,"[8075.590770689743, 8102.085270897072, 9753.093434228238, 9103.111866271345, 10927.210679870634, 11972.239010497893, 12952.514822964182, 15651.492304091455, 14920.511263777827, 16896.357194898377, 17532.736107879988, 18700]" +51,MA,"[13250.041648730752, 15528.2083307194, 14191.856344963748, 13541.710736495368, 14044.949545040168, 16154.2511565397, 19647.607763166976, 20213.3100028738, 19501.28703027939, 22458.42067365907, 24705.568127223996, 29900]" +52,MCD,"[37963.44192050318, 35158.10603346034, 40291.27577441734, 48261.08133508894, 46476.456380468895, 54849.29024982036, 65757.4558828845, 69632.7968586974, 67148.69695354902, 79166.8144195534, 94832.26370569279, 100000]" +53,MCO,"[6864.142962371511, 6291.803092392251, 6518.383179792412, 6275.000198408396, 7715.040215111358, 9467.062768180313, 9879.870791733632, 11894.684414699632, 13097.663973258133, 12138.013560316344, 13505.806714488153, 14419]" +54,MDT,"[81096.51593569887, 88704.78829637647, 85294.7133910837, 80683.21124692698, 82500.93619666132, 79377.39467520306, 92053.20513548412, 84301.68416417499, 87907.71258480624, 90528.60525052075, 100156.1566890417, 95000]" +55,MMC,"[38923.080387122376, 48387.62569308111, 58090.04108950118, 66075.2301394756, 70404.3788451785, 68361.65914347442, 71729.41010838407, 65922.28488066443, 68691.0601409101, 73138.71898689814, 73835.16947637327, 85000]" +56,MMM,"[23646.48069081219, 28865.099116895908, 28929.37931887642, 29977.944446484977, 36288.910859699354, 34085.45254293241, 41560.25877670736, 46000.463334884706, 56269.344348141545, 66441.18989998857, 80356.98600587934, 92000]" +57,MO,"[2750.847388687997, 3063.307474330338, 2952.765946564743, 2930.517583620701, 3509.133609771555, 3818.32230171708, 3761.187654570196, 4296.188412755184, 4147.950735489828, 4392.143161130184, 5404.676945500494, 6300]" +58,MRK,"[48234.14908873224, 55650.34350817377, 58466.53026790086, 55893.833951716835, 65504.32989578392, 63124.45282614029, 62969.194177931575, 68795.5874369281, 69154.75697711711, 65838.28543140901, 72082.49582111121, 67000]" +59,MSFT,"[123233.26887801947, 135109.2736410185, 128638.17289039161, 154355.20012615627, 153363.28059818433, 169581.5838229991, 159849.47260577223, 182052.36187479447, 223934.45967653635, 236557.39699225765, 219845.90451496924, 221000]" +60,NEE,"[9942.937473890852, 9934.392075096739, 11332.90386671135, 12795.241884147774, 14124.638096884504, 13081.43546469686, 13199.054918911806, 13505.936633737963, 12554.204235525549, 14474.227582354797, 15230.877180854553, 15300]" +61,NFLX,"[11455.57173834794, 13321.970861304599, 13329.926565006052, 14681.600637850835, 15846.022516544605, 17476.190754397503, 17011.611520319093, 15710.655298949587, 15178.433190328975, 14635.455883297018, 13727.890362703693, 12800]" +62,NKE,"[37035.50579695502, 36061.61602957286, 37860.294264949756, 42228.569112981815, 42161.08787179082, 49229.64553656252, 58163.34881335835, 63106.92043785505, 73325.52903674851, 72112.79873981254, 72738.82463342919, 79100]" +63,NSC,"[16654.947984045517, 16007.074193847748, 15772.666559153622, 16169.822093296008, 18329.970225621953, 18313.34338643161, 20741.039769797513, 20916.519737959483, 21347.013177970424, 21365.79442396073, 19597.82308820623, 19300]" +64,NVDA,"[7807.458345422079, 8836.523339759931, 9790.501868762714, 10071.989964873837, 12046.967020398955, 14979.689000502847, 17483.37769424241, 20718.623525551695, 25179.491203621277, 27904.89726822512, 26016.768339454164, 26196]" +65,ORCL,"[65116.26278040325, 77184.31269802089, 79787.95103791243, 79270.29625679646, 98965.18298177444, 94909.79101045543, 106243.96491614854, 121570.55040619554, 126469.04444863019, 133644.60018282526, 138173.7929858151, 143000]" +66,PEP,"[126792.20594069739, 148309.8413335914, 149764.12832208927, 144434.9982588383, 174534.65271326888, 193812.66876394334, 225951.94493494972, 233030.7048831975, 229980.76967866567, 242051.86533912545, 296394.9997752849, 315000]" +67,PFE,"[30852.99101479285, 34187.999112861056, 40148.13326835386, 36651.74016917439, 41348.52987158678, 37997.4602743729, 46748.483963394276, 48515.04818806935, 57080.587209578945, 67991.96655916389, 77031.52294692455, 83000]" +68,PG,"[77468.10220268022, 80922.6772567947, 84362.34100388567, 78370.97971458905, 77277.30338999542, 77373.65161285482, 71843.95803901348, 86865.87450163993, 96577.49593585455, 89533.45875411645, 105055.00692878103, 106000]" +69,PM,"[56073.37458651154, 52357.46161868569, 53393.10244109184, 53459.926396707844, 61698.29742039442, 73704.75558216925, 71886.54303278864, 69420.76868067938, 71047.67360158666, 70680.03607993035, 67934.62400110904, 79800]" +70,PYPL,"[27308.488599104865, 29061.894298704097, 28041.532188577075, 30429.72265732506, 30918.580869177888, 28698.40264350505, 31052.53541090663, 28843.881008817192, 31974.441238218475, 35102.747608843085, 32661.722328829514, 29900]" +71,SCHW,"[24548.42760943741, 25289.161549233555, 23243.01194939526, 25032.80028063766, 29845.413066168367, 29775.167638237956, 27222.670429416703, 27662.674008047023, 30415.751516500277, 33708.020974576044, 33751.07064198596, 36000]" +72,SO,"[9616.992725018978, 10593.685776632352, 11034.208640508949, 11347.350088049254, 13564.533452597772, 13532.815526957582, 16414.99680932943, 15910.696185106428, 18738.997717632752, 19012.556883121888, 22296.619788615066, 27423]" +73,SPG,"[1296.7356030392864, 1212.3154063165011, 1413.6719031812402, 1621.2078466673297, 1981.922686761916, 2132.142276224753, 1973.378686692188, 2243.373565314156, 2347.3520402623703, 2686.1643758714663, 2636.532804414527, 2500]" +74,SPGI,"[17285.6960932868, 21264.925858470368, 22290.9607696056, 24286.748242907972, 27965.577210882555, 31929.036492824216, 33470.8107892028, 31829.504165763326, 30133.689911549503, 31851.11041568235, 34931.07472198761, 39911]" +75,T,"[71554.03652970144, 77060.84010869115, 94453.18831869378, 92260.76156969764, 113844.9064258813, 118409.18532671404, 115649.1570994045, 112048.1098822784, 102463.69339569841, 115622.74611851177, 140959.05390792165, 157790]" +76,TGT,"[125869.53942247892, 145900.13119938973, 138482.7643916658, 166200.03504089566, 180251.2608179926, 187220.05294609096, 203903.84284156538, 252375.29895979824, 300656.251983761, 375771.228486105, 456677.851571822, 440000]" +77,TMO,"[55926.8756878007, 67685.07889526467, 68317.14307987405, 65052.73640438384, 74602.3408554123, 92878.80906568826, 111499.76935107209, 120242.44018517493, 109556.22505861708, 119267.73792593478, 125149.09773125235, 130000]" +78,TMUS,"[31646.497175640518, 38591.312846590445, 46777.33373204025, 49703.18025635886, 54869.87276842132, 50297.590633451124, 54562.236178908206, 54285.53007961753, 60807.2065780361, 64864.67942482986, 63412.385236514914, 71000]" +79,TSLA,"[81066.48661549299, 90857.02731690404, 109588.15498933093, 118951.99587100359, 118188.5727576766, 110308.73608742947, 112593.3676070626, 115728.41514816685, 114621.48841027073, 109617.04461868652, 105632.95314753815, 127855]" +80,TXN,"[15671.359210130217, 16128.943851244476, 14690.829304928131, 15060.189501967005, 18561.541882761634, 18698.818188215635, 17301.789712766687, 21449.37806262045, 23581.9219995619, 28987.08800958198, 29091.897712317364, 33000]" +81,UNH,"[279587.31355861353, 306339.67785745335, 369888.51016440784, 337632.0238664039, 331355.1420475483, 327659.61719186837, 316912.39894758235, 352490.10410852724, 321503.5269757051, 372823.90399965784, 369204.8336223311, 400000]" +82,UNP,"[20077.026936856182, 22409.731702235855, 26450.470363238495, 31265.85559109808, 33908.67546270582, 31094.684425489235, 33247.72246050165, 30677.73048727944, 32092.601260543364, 31516.487684205073, 32273.903119204275, 31471]" +83,UPS,"[346023.6966925859, 337448.0555702558, 314192.4869198813, 348372.42158785334, 375654.2174873071, 408656.7284088193, 373561.44453541504, 367462.80664356315, 404926.14505930536, 494889.087864924, 500698.9253255954, 500000]" +84,USB,"[34389.21595284282, 36423.636351755165, 42649.395931583436, 49538.847154541465, 60735.614707197106, 57020.919761266225, 59332.67150739455, 59211.155612172624, 65369.4530330664, 77642.16342826282, 78153.52699103345, 77000]" +85,V,"[15443.714596711336, 18693.516663890983, 17882.65130215494, 20394.730147055434, 21529.483970105168, 24327.35919295692, 22608.86017650375, 23055.568900410293, 24442.081866155717, 28658.0794571379, 26299.304942603107, 26500]" +86,VZ,"[86049.18750998976, 91914.59900840974, 96897.85825042942, 106527.61437058817, 132142.01318346692, 124534.42293809837, 135034.65133903717, 124561.67139477984, 113940.91889895586, 117927.85874639454, 112745.31448039119, 117100]" +87,WFC,"[146085.5747087854, 156501.0298474846, 153704.9910888838, 153156.54611070539, 139449.14184427733, 152444.32549444406, 142516.66080374975, 177921.09007937397, 205914.1913970706, 227999.98001798632, 210302.6060149738, 235591]" +88,WMT,"[1094253.6497179593, 1343920.7513472196, 1483373.4169822051, 1712818.6124380035, 1778160.7740733, 1962887.452773077, 1847525.7298619566, 1994983.1027403674, 1907113.7074002484, 2364495.670808492, 2256032.706738107, 2100000]" +89,XOM,"[45635.08911335137, 44878.49567415427, 43092.00683836891, 41236.13561367761, 39598.30962313433, 39137.9629937108, 36863.85313393014, 35833.015702010925, 41944.99805030171, 45220.30595563481, 55475.27083709354, 62000]" diff --git a/Elaborated_Data/normalized_data.csv b/Elaborated_Data/normalized_data.csv index 135964d..e520acf 100644 --- a/Elaborated_Data/normalized_data.csv +++ b/Elaborated_Data/normalized_data.csv @@ -1,91 +1,91 @@ ,Unnamed: 0,Ticker,Valuation,Financial Health,Estimated Growth,Past Performance -0,0,AAPL,99.66725122809231,82.7388714169545,111.32,39.06731462476843 -1,1,ABBV,160.98123119547898,79.70456839317465,54.12,38.816439109405074 -2,2,ABT,0.010900003867217779,84.97908350076645,60.11,104.36222986694207 -3,3,ACN,98.07248876261579,89.17639889545868,116.12,43.99884594359548 -4,4,ADBE,130.64497830681407,86.63122649087215,138.99,41.77566086253358 -5,5,AMAT,75.39043306730187,86.04399527626032,135.94,71.01980883066668 -6,6,AMGN,136.79045884196086,74.06410953903897,80.13,46.662518965274614 -7,7,AMZN,114.62413820054807,83.3609384881074,0.0,0.593123489053842 -8,8,APD,125.8450702813671,82.6899927533652,117.97,39.47760235265585 -9,9,AVGO,139.59379881714588,77.7364945612938,112.7,41.90801333540908 -10,10,BA,160.98123119547898,80.89585950725527,199.97,200.0 -11,11,BAC,67.36367760818494,88.20551556034,88.12,59.31337794386356 -12,12,BDX,110.18184446244406,82.61688665184255,120.23,53.09513094145142 -13,13,BIDU,150.82537602985602,85.04031559473167,85.13,135.63074628505646 -14,14,BMY,160.98123119547898,80.62281013164436,90.05,57.248659978974956 -15,15,CAT,133.9628473349977,80.01753251733713,134.18,105.21027752682537 -16,16,CCI,48.96872890304626,73.22762887470552,53.29,37.51941455427019 -17,17,CHTR,154.98194518352693,74.48403641387307,150.4,27.228633916550713 -18,18,CMCSA,146.7680629125239,81.81299080598593,108.35,68.20633978961776 -19,19,CME,70.163169032576,90.32695620119384,93.92,40.79282933144908 -20,20,COST,80.41604288665233,87.46295845900838,115.0,36.58364459954663 -21,21,CRM,134.59603167296376,87.32008475206904,159.84,100.91497446549263 -22,22,CSCO,120.55997440080642,88.71113270927466,108.2,42.44050233000708 -23,23,CSX,104.27713894583977,80.27435046413956,112.16,54.74916607300668 -24,24,CVS,135.19103895654334,82.99260213904473,91.29,55.90979252844121 -25,25,CVX,101.3396698471697,88.60016248859135,41.41,60.95337842784888 -26,26,D,4.3923133815296085,79.69408342715397,99.27,40.760366389641874 -27,27,DE,140.52774327374226,76.49349721976776,136.33,57.453186220311125 -28,28,DHR,87.79588678965173,85.09612376199445,85.42,82.78805519627885 -29,29,DIS,141.3476576227695,85.00741815250112,166.75,43.14687042534553 -30,30,DUK,94.91164830660327,80.30820557341846,100.27,33.88522180364372 -31,31,EXC,106.0647977464432,80.29809703087852,102.77,44.20510797449332 -32,32,FDX,135.00252241230626,79.98713109312754,95.17,25.114194866864718 -33,33,FIS,148.46144015856456,82.79611953800102,81.72,39.63626807743001 -34,34,GE,91.15790200486788,87.47260612665734,175.64,146.22351162424394 -35,35,GILD,151.2044952147543,80.85620944048239,82.69,67.802408084516 -36,36,GOOGL,140.11321872176285,89.06563187577275,153.22,20.354197361697015 -37,37,GS,118.74543520148052,85.93435978301807,77.22,36.94371228161387 -38,38,HD,126.71316498144698,75.16761426013859,81.72,39.445926743799376 -39,39,HON,114.29369431763827,82.9819147655237,110.23,45.880078753481484 -40,40,IBM,118.4751329913031,79.5681603795179,104.36,40.56599243772292 -41,41,INTC,30.39471860378832,84.16628321210383,101.37,11.620366089371919 -42,42,ISRG,86.49035040805836,46.8771394789436,147.05,36.25598063973711 -43,43,JNJ,63.72903613156852,85.6234601190366,92.98,49.25049996292883 -44,44,JPM,88.97475154629515,87.6536719677413,53.49,75.5222345002856 -45,45,KO,83.43140990057667,80.19709303356093,101.12,51.0539972645096 -46,46,LIN,85.4463293760633,85.08134922797196,113.68,175.39951162067177 -47,47,LLY,123.56822878561087,82.1284277575668,173.14,27.798098864965354 -48,48,LMT,89.63955979696466,83.81800279203111,125.16,34.939329264522925 -49,49,LOW,137.92406986378234,70.03159543658687,108.64,50.03421862699726 -50,50,LRCX,126.45062656347639,84.4391961039491,72.08,75.89863458999143 -51,51,MA,131.41764068463203,81.05041894995104,162.13,49.54808199123212 -52,52,MCD,79.58085418616103,68.83813512817449,114.02,56.192189033719856 -53,53,MCO,119.54500732824769,77.74624493920066,131.24,64.35179405953912 -54,54,MDT,108.42969734788738,83.49660097222588,76.89,35.51979739263485 -55,55,MMC,114.22021877736745,80.17965192275534,119.66,43.01166990391676 -56,56,MMM,60.91079809533632,82.35099016580031,79.75,51.5498465941439 -57,57,MO,9.33315076334979,74.17807375979767,90.89,34.42332481903656 -58,58,MRK,112.94421971054255,83.92619124562997,112.06,61.12301790550875 -59,59,MSFT,113.26609475449267,86.90924342145904,132.72,42.574394371216634 -60,60,NEE,105.90038834256646,80.39166807726498,115.15,71.52441621014867 -61,61,NFLX,129.11959281556602,83.66912305027884,166.33,76.7954778466989 -62,62,NKE,119.51855642731759,82.78401922678438,113.97,117.48351818421081 -63,63,NSC,96.88076222678136,81.46497777526282,98.62,49.3247825186535 -64,64,NVDA,82.25461700620143,83.7627615066959,164.85,6.926609061624467 -65,65,ORCL,122.92734777644266,73.98756908166904,116.42,46.376925277680336 -66,66,PEP,87.131497664537,79.8705418820447,110.23,53.91814705158701 -67,67,PFE,140.47340520393576,86.47729235669306,22.44,116.51242007359423 -68,68,PG,64.31230077832718,83.33866650904798,98.17,38.07115813063641 -69,69,PM,109.50100591046719,72.55448449750119,108.25,48.18188763164932 -70,70,PYPL,151.48799177385294,87.39557336211455,146.26,60.19328753757178 -71,71,SCHW,129.0234669420565,89.14126159248195,119.99,45.70354212187421 -72,72,SO,84.46652562371243,79.86032731897615,107.75,71.93845531637749 -73,73,SPG,1.1854441448309712,72.43036891732231,114.17,75.66329877350253 -74,74,SPGI,114.22266821500354,85.97832705940108,133.43,43.418194870339185 -75,75,T,61.586410114552315,81.31427955954999,69.11,59.731454906145466 -76,76,TGT,146.61361867919015,81.98589242825953,41.98,28.280252582031757 -77,77,TMO,73.99122697155062,81.71090665619771,114.02,50.826203770832095 -78,78,TMUS,155.01159044367853,78.08773453101122,199.49,58.89699852799944 -79,79,TSLA,129.88191763420065,90.07679645508908,124.08,62.575536448354775 -80,80,TXN,95.34312077123577,82.33805646141853,120.95,61.63351739609634 -81,81,UNH,130.59286903995337,84.71445728234814,134.93,50.071745102527345 -82,82,UNP,102.08194911395603,77.91402807572778,116.17,39.50929713815176 -83,83,UPS,109.31516556780723,81.8759911471089,89.41,42.27357028519867 -84,84,USB,142.45442985947,87.25998544929526,90.49,41.1838844914599 -85,85,V,132.2376969692613,84.37917303829828,141.79,61.08058325638432 -86,86,VZ,25.824157206441292,79.31397201530115,70.84,35.57825810344986 -87,87,WFC,147.69065957371842,87.50760782469975,99.67,19.075069084803722 -88,88,WMT,80.94310440425323,84.42660967228767,98.07,80.66162547687941 -89,89,XOM,125.08994915257153,88.06643919762163,32.26,74.58447727917255 +0,0,AAPL,99.66725122809231,100.0,111.32,39.06731462476843 +1,1,ABBV,160.98123119547898,100.0,54.12,38.816439109405074 +2,2,ABT,0.010900003867217779,100.0,60.11,104.36222986694207 +3,3,ACN,98.07248876261579,100.0,116.12,43.99884594359548 +4,4,ADBE,130.64497830681407,100.0,138.99,41.77566086253358 +5,5,AMAT,75.39043306730187,100.0,135.94,71.01980883066668 +6,6,AMGN,136.79045884196086,100.0,80.13,46.662518965274614 +7,7,AMZN,114.62413820054807,100.0,0.0,0.593123489053842 +8,8,APD,125.8450702813671,100.0,117.97,39.47760235265585 +9,9,AVGO,139.59379881714588,100.0,112.7,41.90801333540908 +10,10,BA,160.98123119547898,100.0,199.97,200.0 +11,11,BAC,67.36367760818494,100.0,88.12,59.31337794386356 +12,12,BDX,110.18184446244406,100.0,120.23,53.09513094145142 +13,13,BIDU,150.82537602985602,100.0,85.13,135.63074628505646 +14,14,BMY,160.98123119547898,100.0,90.05,57.248659978974956 +15,15,CAT,133.9628473349977,100.0,134.18,105.21027752682537 +16,16,CCI,48.96872890304626,100.0,53.29,37.51941455427019 +17,17,CHTR,154.98194518352693,100.0,150.4,27.228633916550713 +18,18,CMCSA,146.7680629125239,100.0,108.35,68.20633978961776 +19,19,CME,70.163169032576,100.0,93.92,40.79282933144908 +20,20,COST,80.41604288665233,100.0,115.0,36.58364459954663 +21,21,CRM,134.59603167296376,100.0,159.84,100.91497446549263 +22,22,CSCO,120.55997440080642,100.0,108.2,42.44050233000708 +23,23,CSX,104.27713894583977,100.0,112.16,54.74916607300668 +24,24,CVS,135.19103895654334,100.0,91.29,55.90979252844121 +25,25,CVX,101.3396698471697,100.0,41.41,60.95337842784888 +26,26,D,4.3923133815296085,100.0,99.27,40.760366389641874 +27,27,DE,140.52774327374226,100.0,136.33,57.453186220311125 +28,28,DHR,87.79588678965173,100.0,85.42,82.78805519627885 +29,29,DIS,141.3476576227695,100.0,166.75,43.14687042534553 +30,30,DUK,94.91164830660327,100.0,100.27,33.88522180364372 +31,31,EXC,106.0647977464432,100.0,102.77,44.20510797449332 +32,32,FDX,135.00252241230626,100.0,95.17,25.114194866864718 +33,33,FIS,148.46144015856456,100.0,81.72,39.63626807743001 +34,34,GE,91.15790200486788,100.0,175.64,146.22351162424394 +35,35,GILD,151.2044952147543,100.0,82.69,67.802408084516 +36,36,GOOGL,140.11321872176285,100.0,153.22,20.354197361697015 +37,37,GS,118.74543520148052,100.0,77.22,36.94371228161387 +38,38,HD,126.71316498144698,100.0,81.72,39.445926743799376 +39,39,HON,114.29369431763827,100.0,110.23,45.880078753481484 +40,40,IBM,118.4751329913031,100.0,104.36,40.56599243772292 +41,41,INTC,30.39471860378832,100.0,101.37,11.620366089371919 +42,42,ISRG,86.49035040805836,100.0,147.05,36.25598063973711 +43,43,JNJ,63.72903613156852,100.0,92.98,49.25049996292883 +44,44,JPM,88.97475154629515,100.0,53.49,75.5222345002856 +45,45,KO,83.43140990057667,100.0,101.12,51.0539972645096 +46,46,LIN,85.4463293760633,100.0,113.68,175.39951162067177 +47,47,LLY,123.56822878561087,100.0,173.14,27.798098864965354 +48,48,LMT,89.63955979696466,100.0,125.16,34.939329264522925 +49,49,LOW,137.92406986378234,100.0,108.64,50.03421862699726 +50,50,LRCX,126.45062656347639,100.0,72.08,75.89863458999143 +51,51,MA,131.41764068463203,100.0,162.13,49.54808199123212 +52,52,MCD,79.58085418616103,100.0,114.02,56.192189033719856 +53,53,MCO,119.54500732824769,100.0,131.24,64.35179405953912 +54,54,MDT,108.42969734788738,100.0,76.89,35.51979739263485 +55,55,MMC,114.22021877736745,100.0,119.66,43.01166990391676 +56,56,MMM,60.91079809533632,100.0,79.75,51.5498465941439 +57,57,MO,9.33315076334979,100.0,90.89,34.42332481903656 +58,58,MRK,112.94421971054255,100.0,112.06,61.12301790550875 +59,59,MSFT,113.26609475449267,100.0,132.72,42.574394371216634 +60,60,NEE,105.90038834256646,100.0,115.15,71.52441621014867 +61,61,NFLX,129.11959281556602,100.0,166.33,76.7954778466989 +62,62,NKE,119.51855642731759,100.0,113.97,117.48351818421081 +63,63,NSC,96.88076222678136,100.0,98.62,49.3247825186535 +64,64,NVDA,82.25461700620143,100.0,164.85,6.926609061624467 +65,65,ORCL,122.92734777644266,100.0,116.42,46.376925277680336 +66,66,PEP,87.131497664537,100.0,110.23,53.91814705158701 +67,67,PFE,140.47340520393576,100.0,22.44,116.51242007359423 +68,68,PG,64.31230077832718,100.0,98.17,38.07115813063641 +69,69,PM,109.50100591046719,100.0,108.25,48.18188763164932 +70,70,PYPL,151.48799177385294,100.0,146.26,60.19328753757178 +71,71,SCHW,129.0234669420565,100.0,119.99,45.70354212187421 +72,72,SO,84.46652562371243,100.0,107.75,71.93845531637749 +73,73,SPG,1.1854441448309712,100.0,114.17,75.66329877350253 +74,74,SPGI,114.22266821500354,100.0,133.43,43.418194870339185 +75,75,T,61.586410114552315,100.0,69.11,59.731454906145466 +76,76,TGT,146.61361867919015,100.0,41.98,28.280252582031757 +77,77,TMO,73.99122697155062,100.0,114.02,50.826203770832095 +78,78,TMUS,155.01159044367853,100.0,199.49,58.89699852799944 +79,79,TSLA,129.88191763420065,100.0,124.08,62.575536448354775 +80,80,TXN,95.34312077123577,100.0,120.95,61.63351739609634 +81,81,UNH,130.59286903995337,100.0,134.93,50.071745102527345 +82,82,UNP,102.08194911395603,100.0,116.17,39.50929713815176 +83,83,UPS,109.31516556780723,100.0,89.41,42.27357028519867 +84,84,USB,142.45442985947,100.0,90.49,41.1838844914599 +85,85,V,132.2376969692613,100.0,141.79,61.08058325638432 +86,86,VZ,25.824157206441292,100.0,70.84,35.57825810344986 +87,87,WFC,147.69065957371842,100.0,99.67,19.075069084803722 +88,88,WMT,80.94310440425323,100.0,98.07,80.66162547687941 +89,89,XOM,125.08994915257153,100.0,32.26,74.58447727917255 diff --git a/indexer/indexer.py b/indexer/indexer.py index a23b7b6..ec109e9 100644 --- a/indexer/indexer.py +++ b/indexer/indexer.py @@ -44,7 +44,7 @@ def get_financial_health(ticker: str): # Create financial health column try: - balance_sheet['financial_health'] = balance_sheet['TotalDebt'] / balance_sheet['TotalAssets'] + balance_sheet['financial_health'] = balance_sheet['TotalAssets'] / balance_sheet['TotalDebts'] except KeyError: return 2.0 @@ -96,19 +96,19 @@ def normalizer(): not_normalized = pd.read_csv('Elaborated_Data/Not_Normalized.csv') # Read Not_normalized .csv - v_values = (200/(1+math.e**( 0.5*(-not_normalized['Valuation'].mean()+not_normalized['Valuation'])))) #VALUATION STAT + v_values = (200/(1+math.e**( -0.5*(not_normalized['Valuation'].mean()-not_normalized['Valuation'])))) #VALUATION STAT not_normalized['Valuation'] = v_values - fh_values= (200/(1+math.e**( 0.5*(not_normalized['Financial Health'].mean()+not_normalized['Financial Health'])))) #FINANCIAL HEALTH STAT + fh_values= (200/(1+math.e**( -0.5*(not_normalized['Financial Health'].mean()+not_normalized['Financial Health'])))) #FINANCIAL HEALTH STAT not_normalized['Financial Health'] = fh_values not_normalized['Estimated Growth'] = not_normalized['Estimated Growth'].str.strip("%").astype("float") - eg_values= (200/(1+math.e**( 0.1*(not_normalized['Estimated Growth'].mean()-not_normalized['Estimated Growth'])))) #ESTIMATED GROWTH STAT + eg_values= (200/(1+math.e**( -0.1*(not_normalized['Estimated Growth'].mean()+not_normalized['Estimated Growth'])))) #ESTIMATED GROWTH STAT for i in range(len(eg_values)): eg_values[i] = float(round(eg_values[i],2)) not_normalized['Estimated Growth']= eg_values - pf_values = (200/(1+math.e**( 0.1*(not_normalized['Past Performance'].mean()-not_normalized['Past Performance'])))) #PAST PERFORMANCE + pf_values = (200/(1+math.e**( -0.1*(not_normalized['Past Performance'].mean()+not_normalized['Past Performance'])))) #PAST PERFORMANCE not_normalized['Past Performance'] = pf_values # Create normalized dataframe for main page diff --git a/presentation_notebook.ipynb b/presentation_notebook.ipynb new file mode 100644 index 0000000..cb9bc73 --- /dev/null +++ b/presentation_notebook.ipynb @@ -0,0 +1,108 @@ +{ + "cells": [ + { + "attachments": {}, + "cell_type": "markdown", + "metadata": {}, + "source": [ + "

Function for getting scores: Sigmoid fucntion

" + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "75.50813375962909\n" + ] + } + ], + "source": [ + "\n", + "mean_stocks = 5\n", + "value_stock = 4\n", + "\n", + "score= (200/(1+math.e**( 0.5*(mean_stocks-value_stock))))\n", + "\n", + "print(score)\n" + ] + }, + { + "cell_type": "code", + "execution_count": 14, + "metadata": {}, + "outputs": [ + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAg4AAAFlCAYAAACDYGA9AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjcuMCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy88F64QAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAbn0lEQVR4nO3da3BV1f3G8SckhxOCJEpSMZhwVcRLQU2qBmshSlB0QF7Y4sAwYNUpBS2YaRVKR5KOTnpBp1qVClLwBampItRaoJyZQghSa8AwQ6XVAiLQBGgSSQKph21Y/xeW/IkJuE4ma4Uk389MZtw7++z145mD52GfW5wxxggAAMBCr84eAAAAdB0UBwAAYI3iAAAArFEcAACANYoDAACwRnEAAADWKA4AAMAaxQEAAFijO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UWEkmWeffdZUVFQ0vwXW1WNopxYHY4x58cUXzeDBg03v3r3NjTfeaEpLS5t/N3PmTDN27NgWx2/ZssXccMMNpnfv3mbIkCFm6dKlnifu+mLJfOzYsUZSq5+ZM2f6H7wLi/V+fjaKQ/vEmvk//vEPM378eNOnTx+TkZFh8vPzTWNjo+epu7ZYM3/++efNNddcY/r06WPS09PN9OnTzeHDhz1P3XVt3rz5vP9/dvUYytdqAwAAa53+rgoAANB1UBwAAIA1igMAALBGcQAAANYoDgAAwBrFAQAAWKM4AAAAaxQHAABgjeIAAACsURwAAIA1igMAALBGcQAAANb+D/bMG75tXjyMAAAAAElFTkSuQmCC", + "text/plain": [ + "
" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "1e6dab8358774ba1b4a796b47bbf6360", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "interactive(children=(IntSlider(value=1, description='w', max=10), FloatSlider(value=1.0, description='amp', m…" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "import ipywidgets as widgets\n", + "import matplotlib.pyplot as plt\n", + "import numpy as np\n", + "# set up plot\n", + "fig, ax = plt.subplots(figsize=(6, 4))\n", + "ax.set_ylim([-4, 4])\n", + "ax.grid(True)\n", + " \n", + "# generate x values\n", + "x = np.linspace(0, 2 * np.pi, 100)\n", + " \n", + " \n", + "def my_sine(x, w, amp, phi):\n", + " \"\"\"\n", + " Return a sine for x with angular frequeny w and amplitude amp.\n", + " \"\"\"\n", + " return amp*np.sin(w * (x-phi))\n", + " \n", + " \n", + "@widgets.interact(w=(0, 10, 1), amp=(0, 4, .1), phi=(0, 2*np.pi+0.01, 0.01))\n", + "def update(w = 1.0, amp=1, phi=0):\n", + " \"\"\"Remove old lines from plot and plot new one\"\"\"\n", + " [l.remove() for l in ax.lines]\n", + " ax.plot(x, my_sine(x, w, amp, phi), color='C0')\n", + "\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "language_info": { + "name": "python" + }, + "orig_nbformat": 4 + }, + "nbformat": 4, + "nbformat_minor": 2 +}