Last changes on indexer
This commit is contained in:
parent
81dd531e03
commit
f741e26727
2 changed files with 92 additions and 91 deletions
|
@ -1,91 +1,91 @@
|
|||
,Unnamed: 0,Ticker,Valuation,Financial Health,Estimated Growth,Past Performance
|
||||
0,0,AAPL,105.20185265325186,91.27312587891294,111.32,66.0148171052622
|
||||
1,1,ABBV,200.0,87.14034308193199,54.12,65.83803735194121
|
||||
2,2,ABT,3.502927155884448,97.10915729637422,60.11,102.18215353548281
|
||||
3,3,ACN,102.99006147737678,146.5852111543022,116.12,69.37291802458431
|
||||
4,4,ADBE,157.08692422406043,105.41122532364618,138.99,67.88534342574849
|
||||
5,5,AMAT,75.81577697045441,101.80819279063635,135.94,85.19217777229771
|
||||
6,6,AMGN,168.77019572724964,83.45503615220474,80.13,71.10456290005165
|
||||
7,7,AMZN,128.19260030021755,92.5399579016255,0.0,10.343561187034048
|
||||
8,8,APD,148.0669503043199,91.18186622650158,117.97,66.30259668856391
|
||||
9,9,AVGO,174.0182170622495,85.49149673125568,112.7,67.97505869592548
|
||||
10,10,BA,200.0,88.45899771456277,199.97,200.0
|
||||
11,11,BAC,67.79173261178073,122.62143587847078,88.12,78.73693105719734
|
||||
12,12,BDX,120.9311241861305,91.04741945362844,120.23,75.0926302092075
|
||||
13,13,BIDU,192.47942261306,97.33251356390144,85.13,118.41983126540988
|
||||
14,14,BMY,200.0,88.1293000093566,90.05,77.54667138353885
|
||||
15,15,CAT,163.40118417419154,87.45836482385222,134.18,102.60690920936649
|
||||
16,16,CCI,51.60759610039482,83.11031841390277,53.29,64.9139252760998
|
||||
17,17,CHTR,197.12970389804275,83.64140709738348,150.4,56.834816031842664
|
||||
18,18,CMCSA,186.53241729625944,89.7141435974903,108.35,83.67975731415228
|
||||
19,19,CME,70.51225582214956,197.45041307754047,93.92,67.21432356277394
|
||||
20,20,COST,81.21604015295037,112.60518280329671,115.0,64.2361867612725
|
||||
21,21,CRM,164.6066568792097,111.13597542401217,159.84,100.45749680810641
|
||||
22,22,CSCO,138.45301784981535,132.92094138672394,108.2,68.3344933392558
|
||||
23,23,CSX,111.84871270542078,87.73355418263719,112.16,76.0800366682177
|
||||
24,24,CVS,165.73828672281633,91.7653314706724,91.29,76.76473012861851
|
||||
25,25,CVX,107.56926163193683,130.32510900427462,41.41,79.66975386460486
|
||||
26,26,D,15.290217372440877,87.1300009352824,99.27,67.19201264338382
|
||||
27,27,DE,175.73738275715903,84.68485645841167,136.33,77.66540274605386
|
||||
28,28,DHR,89.74740588127347,97.54025196764677,85.42,91.32932741301067
|
||||
29,29,DIS,177.2304186526414,97.211927884558,166.75,68.80763358274393
|
||||
30,30,DUK,98.73477290665436,87.77084286355695,100.27,62.22564604607788
|
||||
31,31,EXC,114.53011384059165,87.75968377384388,102.77,69.50891012595386
|
||||
32,32,FDX,165.3799074709708,87.42665956706824,95.17,54.96214905661287
|
||||
33,33,FIS,189.15029196529755,91.38143775152557,81.72,66.41344938655487
|
||||
34,34,GE,93.89495615810021,112.70868281352884,175.64,124.49891622222334
|
||||
35,35,GILD,192.9724525123606,88.40999016045565,82.69,83.46083095677405
|
||||
36,36,GOOGL,174.97659262783273,142.86606486439246,153.22,50.36697854819834
|
||||
37,37,GS,135.25159681247422,101.23031576744079,77.22,64.49809547105107
|
||||
38,38,HD,149.68177206214273,83.96621489926906,81.72,66.28043734328139
|
||||
39,39,HON,127.63986325220993,91.74395100952218,110.23,70.60128984661448
|
||||
40,40,IBM,134.77945084892974,87.00731101342731,104.36,67.05822404426115
|
||||
41,41,INTC,37.22910058041551,94.53478392384825,101.37,39.79063206782623
|
||||
42,42,ISRG,88.1824052503914,86.18849955277852,147.05,63.99659688732255
|
||||
43,43,JNJ,64.37383689552667,99.72330114583912,92.98,72.7395741022917
|
||||
44,44,JPM,91.18219867928472,114.76133290510394,53.49,87.57208391417619
|
||||
45,45,KO,84.61107192396322,87.64935894296252,101.12,73.8539904481114
|
||||
46,46,LIN,86.94865586807126,97.48486218669902,113.68,145.50692299373404
|
||||
47,47,LLY,143.87624697553244,90.20764020964458,173.14,57.3242838499275
|
||||
48,48,LMT,92.00055125094745,93.61540663667986,125.16,63.02141545211876
|
||||
49,49,LOW,170.9052945742457,82.04827653234443,108.64,73.22625178253621
|
||||
50,50,LRCX,149.19248955823937,95.32575646727052,72.08,87.76904354555414
|
||||
51,51,MA,158.55479153795613,88.65386527495919,162.13,72.92481223231144
|
||||
52,52,MCD,80.29678974670271,81.7305112785843,114.02,76.93034944230925
|
||||
53,53,MCO,136.65551753769535,85.49843400732152,131.24,81.57050820275153
|
||||
54,54,MDT,118.16829492456176,92.8450544959632,76.89,63.45384058629298
|
||||
55,55,MMC,127.51723231747657,87.63052220000459,119.66,68.71739139872444
|
||||
56,56,MMM,61.806185203921274,90.57815945543335,79.75,74.15702943811968
|
||||
57,57,MO,20.53657072101916,83.5046846085962,90.89,62.63359712085422
|
||||
58,58,MRK,125.4034643977795,93.89099066030111,112.06,79.7656401374788
|
||||
59,59,MSFT,125.93383004616338,107.48643824754653,132.72,68.42449476554214
|
||||
60,60,NEE,114.28104697519642,87.86381321251984,115.15,85.46125669802359
|
||||
61,61,NFLX,154.19903240107166,93.24989411142877,166.33,88.23720618918928
|
||||
62,62,NKE,136.60890150159412,91.35841457629517,113.97,108.80960310364354
|
||||
63,63,NSC,101.36586853042037,89.20863062134259,98.62,72.7858647538479
|
||||
64,64,NVDA,83.27167524546657,93.4779727148943,164.85,31.849171398287666
|
||||
65,65,ORCL,142.70944266140097,83.42206901803506,116.42,70.92136793998438
|
||||
66,66,PEP,88.94786061768049,87.30671593584621,110.23,75.58570064005832
|
||||
67,67,PFE,175.63787032294806,104.37403854217264,22.44,108.31326906980352
|
||||
68,68,PG,64.91401871892884,92.49093498053787,98.17,65.30915014958158
|
||||
69,69,PM,119.85073876884272,82.85582774836678,108.25,72.06978657720182
|
||||
70,70,PYPL,193.33300975831932,111.897714400579,146.26,79.23875043299401
|
||||
71,71,SCHW,154.01759201257377,145.37010019920012,119.99,70.48713540796912
|
||||
72,72,SO,85.80487600994968,87.29633007414964,107.75,85.681572457534
|
||||
73,73,SPG,9.996654397458014,82.81093561235873,114.17,87.64593238546239
|
||||
74,74,SPGI,127.52131883874166,101.45894697883429,133.43,68.98828676742554
|
||||
75,75,T,62.4154643001036,89.00131684237897,69.11,78.97575456014215
|
||||
76,76,TGT,186.2853419515832,89.98024192579905,41.98,57.73409404457928
|
||||
77,77,TMO,74.36621243620229,89.5618195230685,114.02,73.71429954550699
|
||||
78,78,TMUS,197.15621675792158,85.74814478393527,199.49,78.49836132485574
|
||||
79,79,TSLA,155.64037394861813,188.17185266067338,124.08,80.58222343783717
|
||||
80,80,TXN,99.30575999707457,90.55609065377291,120.95,80.05353115294714
|
||||
81,81,UNH,156.98803331417588,96.19549222156785,134.93,73.24946125157986
|
||||
82,82,UNP,108.63594543845102,85.61946199526078,116.17,66.32475976772288
|
||||
83,83,UPS,119.5573457818638,89.80989999120914,89.41,68.2220717003117
|
||||
84,84,USB,179.21741918122777,110.5515927499423,90.49,67.4823393537137
|
||||
85,85,V,160.11517917436944,95.1460154537915,141.79,79.74166492408365
|
||||
86,86,VZ,33.803385687015506,86.76789485014307,70.84,63.49717039153255
|
||||
87,87,WFC,187.98025116241868,113.0889697385693,99.67,49.02255338919394
|
||||
88,88,WMT,81.80078636041182,95.28778506125856,98.07,90.23868149368765
|
||||
89,89,XOM,146.6696098368374,120.37115026559049,32.26,87.08011637537514
|
||||
0,0,AAPL,105.20185265325186,68.35038765130551,111.32,66.0148171052622
|
||||
1,1,ABBV,200.0,52.24276683339383,54.12,65.83803735194121
|
||||
2,2,ABT,3.502927155884448,88.0023994023335,60.11,102.18215353548281
|
||||
3,3,ACN,102.99006147737678,174.3246501276349,116.12,69.37291802458431
|
||||
4,4,ADBE,157.08692422406043,110.95230684925951,138.99,67.88534342574849
|
||||
5,5,AMAT,75.81577697045441,101.62798227154963,135.94,85.19217777229771
|
||||
6,6,AMGN,168.77019572724964,36.052642030930116,80.13,71.10456290005165
|
||||
7,7,AMZN,128.19260030021755,72.9032828488498,0.0,10.343561187034048
|
||||
8,8,APD,148.0669503043199,68.01579690245129,117.97,66.30259668856391
|
||||
9,9,AVGO,174.0182170622495,45.22873109083369,112.7,67.97505869592548
|
||||
10,10,BA,200.0,57.6021001677191,199.97,200.0
|
||||
11,11,BAC,67.79173261178073,145.21990433600814,88.12,78.73693105719734
|
||||
12,12,BDX,120.9311241861305,67.52121722126125,120.23,75.0926302092075
|
||||
13,13,BIDU,192.47942261306,88.69123045017035,85.13,118.41983126540988
|
||||
14,14,BMY,200.0,56.28224546262015,90.05,77.54667138353885
|
||||
15,15,CAT,163.40118417419154,53.55509305520508,134.18,102.60690920936649
|
||||
16,16,CCI,51.60759610039482,34.440086227734014,53.29,64.9139252760998
|
||||
17,17,CHTR,197.12970389804275,36.91713403869733,150.4,56.834816031842664
|
||||
18,18,CMCSA,186.53241729625944,62.508078075905985,108.35,83.67975731415228
|
||||
19,19,CME,70.51225582214956,199.74429209968443,93.92,67.21432356277394
|
||||
20,20,COST,81.21604015295037,127.11342100388643,115.0,64.2361867612725
|
||||
21,21,CRM,164.6066568792097,124.0530554424684,159.84,100.45749680810641
|
||||
22,22,CSCO,138.45301784981535,159.75805206019515,108.2,68.3344933392558
|
||||
23,23,CSX,111.84871270542078,54.680411171067874,112.16,76.0800366682177
|
||||
24,24,CVS,165.73828672281633,70.13952258804798,91.29,76.76473012861851
|
||||
25,25,CVX,107.56926163193683,156.4232925934618,41.41,79.66975386460486
|
||||
26,26,D,15.290217372440877,52.19987452348332,99.27,67.19201264338382
|
||||
27,27,DE,175.73738275715903,41.664205111032715,136.33,77.66540274605386
|
||||
28,28,DHR,89.74740588127347,89.32801962827195,85.42,91.32932741301067
|
||||
29,29,DIS,177.2304186526414,88.31988255963364,166.75,68.80763358274393
|
||||
30,30,DUK,98.73477290665436,54.83216775931689,100.27,62.22564604607788
|
||||
31,31,EXC,114.53011384059165,54.786770860233815,102.77,69.50891012595386
|
||||
32,32,FDX,165.3799074709708,53.42483316963083,95.17,54.96214905661287
|
||||
33,33,FIS,189.15029196529755,68.74632805013584,81.72,66.41344938655487
|
||||
34,34,GE,93.89495615810021,127.32471174786522,175.64,124.49891622222334
|
||||
35,35,GILD,192.9724525123606,57.406746396225685,82.69,83.46083095677405
|
||||
36,36,GOOGL,174.97659262783273,170.80828094983508,153.22,50.36697854819834
|
||||
37,37,GS,135.25159681247422,100.04605564885955,77.22,64.49809547105107
|
||||
38,38,HD,149.68177206214273,38.41161739915208,81.72,66.28043734328139
|
||||
39,39,HON,127.63986325220993,70.06234435281297,110.23,70.60128984661448
|
||||
40,40,IBM,134.77945084892974,51.689998571464315,104.36,67.05822404426115
|
||||
41,41,INTC,37.22910058041551,79.73972351151389,101.37,39.79063206782623
|
||||
42,42,ISRG,88.1824052503914,48.2374138477517,147.05,63.99659688732255
|
||||
43,43,JNJ,64.37383689552667,95.80075746770112,92.98,72.7395741022917
|
||||
44,44,JPM,91.18219867928472,131.40245610974392,53.49,87.57208391417619
|
||||
45,45,KO,84.61107192396322,54.33711955549583,101.12,73.8539904481114
|
||||
46,46,LIN,86.94865586807126,89.15859465222107,113.68,145.50692299373404
|
||||
47,47,LLY,143.87624697553244,64.38690253392383,173.14,57.3242838499275
|
||||
48,48,LMT,92.00055125094745,76.63804579578257,125.16,63.02141545211876
|
||||
49,49,LOW,170.9052945742457,29.35877594139251,108.64,73.22625178253621
|
||||
50,50,LRCX,149.19248955823937,82.34328938517204,72.08,87.76904354555414
|
||||
51,51,MA,158.55479153795613,58.37601717453873,162.13,72.92481223231144
|
||||
52,52,MCD,80.29678974670271,27.804407946752434,114.02,76.93034944230925
|
||||
53,53,MCO,136.65551753769535,45.25899888764812,131.24,81.57050820275153
|
||||
54,54,MDT,118.16829492456176,73.97472665545837,76.89,63.45384058629298
|
||||
55,55,MMC,127.51723231747657,54.26019510471775,119.66,68.71739139872444
|
||||
56,56,MMM,61.806185203921274,65.77944876236245,79.75,74.15702943811968
|
||||
57,57,MO,20.53657072101916,36.28343931065285,90.89,62.63359712085422
|
||||
58,58,MRK,125.4034643977795,77.57644064971683,112.06,79.7656401374788
|
||||
59,59,MSFT,125.93383004616338,115.92956749228225,132.72,68.42449476554214
|
||||
60,60,NEE,114.28104697519642,55.20978559802842,115.15,85.46125669802359
|
||||
61,61,NFLX,154.19903240107166,75.38180697731005,166.33,88.23720618918928
|
||||
62,62,NKE,136.60890150159412,68.6622715229345,113.97,108.80960310364354
|
||||
63,63,NSC,101.36586853042037,60.55447099893274,98.62,72.7858647538479
|
||||
64,64,NVDA,83.27167524546657,76.1672591641748,164.85,31.849171398287666
|
||||
65,65,ORCL,142.70944266140097,35.89918874950595,116.42,70.92136793998438
|
||||
66,66,PEP,88.94786061768049,52.9309039494008,110.23,75.58570064005832
|
||||
67,67,PFE,175.63787032294806,108.36004105657459,22.44,108.31326906980352
|
||||
68,68,PG,64.91401871892884,72.73023037988067,98.17,65.30915014958158
|
||||
69,69,PM,119.85073876884272,33.238182006680745,108.25,72.06978657720182
|
||||
70,70,PYPL,193.33300975831932,125.65411783574227,146.26,79.23875043299401
|
||||
71,71,SCHW,154.01759201257377,173.20916630274402,119.99,70.48713540796912
|
||||
72,72,SO,85.80487600994968,52.88804944862483,107.75,85.681572457534
|
||||
73,73,SPG,9.996654397458014,33.02515044863611,114.17,87.64593238546239
|
||||
74,74,SPGI,127.52131883874166,100.67491493719751,133.43,68.98828676742554
|
||||
75,75,T,62.4154643001036,59.7446556316317,69.11,78.97575456014215
|
||||
76,76,TGT,186.2853419515832,63.524603362870124,41.98,57.73409404457928
|
||||
77,77,TMO,74.36621243620229,61.92252488534686,114.02,73.71429954550699
|
||||
78,78,TMUS,197.15621675792158,46.34416253371296,199.49,78.49836132485574
|
||||
79,79,TSLA,155.64037394861813,197.72863178235542,124.08,80.58222343783717
|
||||
80,80,TXN,99.30575999707457,65.69693584902097,120.95,80.05353115294714
|
||||
81,81,UNH,156.98803331417588,85.13895735772505,134.93,73.24946125157986
|
||||
82,82,UNP,108.63594543845102,45.78600115998577,116.17,66.32475976772288
|
||||
83,83,UPS,119.5573457818638,62.87481139800505,89.41,68.2220717003117
|
||||
84,84,USB,179.21741918122777,122.80336075731796,90.49,67.4823393537137
|
||||
85,85,V,160.11517917436944,81.75682714969174,141.79,79.74166492408365
|
||||
86,86,VZ,33.803385687015506,50.689478058528096,70.84,63.49717039153255
|
||||
87,87,WFC,187.98025116241868,128.0962877459593,99.67,49.02255338919394
|
||||
88,88,WMT,81.80078636041182,82.21964676130035,98.07,90.23868149368765
|
||||
89,89,XOM,146.6696098368374,141.5338927985445,32.26,87.08011637537514
|
||||
|
|
|
|
@ -99,7 +99,8 @@ def normalizer():
|
|||
v_values = (200/(1+(1/9*not_normalized['Valuation']**2))) # VALUATION STAT
|
||||
not_normalized['Valuation'] = v_values
|
||||
|
||||
fh_values= (200/(1+math.e**( -0.1*(-not_normalized['Financial Health'].mean()+not_normalized['Financial Health'])))) #FINANCIAL HEALTH STAT
|
||||
# fh_values= (200/(1+math.e**( -0.1*(-not_normalized['Financial Health'].mean()+not_normalized['Financial Health'])))) #FINANCIAL HEALTH STAT
|
||||
fh_values = (200-200*math.e**(-0.138*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
|
||||
|
|
Reference in a new issue