CORRECT FUNCTIONS

This commit is contained in:
Tommaso Verzegnassi 2023-05-29 17:30:36 +02:00
parent b84a16375e
commit 0f6d132afe
3 changed files with 185 additions and 185 deletions

View file

@ -1,91 +1,91 @@
,Ticker,Valuation,Financial Health,Estimated Growth,Past Performance
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
0,AAPL,2.8478,3.0302422113761804,8.02%,1.55
1,ABBV,0.0,2.193817072592499,-4.17%,1.47
2,ABT,22.469,4.2017385414314745,-2.70%,16.58
3,ACN,2.9116,14.875260752606902,9.00%,3.05
4,ADBE,1.568,5.863371465573063,13.98%,2.39
5,AMAT,3.8395,5.141746200070696,13.27%,9.74
6,AMGN,1.2905,1.4403766539491842,1.72%,3.81
7,AMZN,2.2453,3.2852827358844294,-278.70%,-42.47
8,APD,1.7767,3.0118487291777516,9.38%,1.68
9,AVGO,1.1592,1.8577465505829642,8.30%,2.43
10,BA,0.0,2.461537072809662,93.80%,987.5
11,BAC,4.1895,9.383988814376815,3.36%,7.07
12,BDX,2.4258,2.984745390693591,9.85%,5.53
13,BIDU,0.593,4.246444343249283,2.75%,23.16
14,BMY,0.0,2.394681364456072,3.75%,6.57
15,CAT,1.4198,2.258464279928722,12.87%,16.75
16,CCI,5.0871,1.3694508731327582,-4.38%,1.05
17,CHTR,0.362,1.4786877883476912,16.84%,-2.77
18,CMCSA,0.8061,2.715595658044864,7.42%,9.12
19,CME,4.0654,48.27562947025644,4.53%,2.09
20,COST,3.6281,7.31458584090163,8.77%,0.74
21,CRM,1.3911,7.016538898353208,19.56%,15.89
22,CSCO,2.0002,11.618894448415535,7.39%,2.59
23,CSX,2.6633,2.3143622363575496,8.19%,5.95
24,CVS,1.364,3.1293966892439657,4.00%,6.24
25,CVX,2.7809,11.041989802476541,-7.68%,7.46
26,D,10.427,2.1917138338604962,5.60%,2.08
27,DE,1.1147,1.692748584312983,13.36%,6.62
28,DHR,3.3251,4.288019362646228,2.81%,12.23
29,DIS,1.0753,4.222309246053011,21.87%,2.8
30,DUK,3.0382,2.321933548864566,5.80%,-0.19
31,EXC,2.5916,2.3196678154317443,6.30%,3.11
32,FDX,1.3726,2.252021634110481,4.78%,-3.7
33,FIS,0.7185,3.052068758744753,2.05%,1.73
34,GE,3.1891,7.335622853574773,25.50%,25.71
35,GILD,0.5725,2.451602678394548,2.25%,9.03
36,GOOGL,1.1345,13.945161533816425,17.61%,-6.07
37,GS,2.0757,5.026143790849673,1.11%,0.86
38,HD,1.7394,1.5453993687788299,2.05%,1.67
39,HON,2.2588,3.125091326583864,7.80%,3.59
40,IBM,2.0869,2.1667585446527013,6.62%,2.02
41,INTC,6.2729,3.6859347960137647,6.02%,-12.15
42,ISRG,3.3782,2.0,15.96%,0.63
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
43,JNJ,4.3545,4.7247283088328,4.34%,4.52
44,JPM,3.2773,7.754062578305718,-4.33%,10.71
45,KO,3.5034,2.297264150943396,5.97%,5.0
46,LIN,3.4208,4.276934547584811,8.50%,35.35
47,LLY,1.8737,2.8153000487195237,24.38%,-2.53
48,LMT,3.2504,3.5014102564102565,10.89%,0.18
49,LOW,1.2378,1.1503921671842923,7.48%,4.73
50,LRCX,1.7507,3.8445377840670143,0.01%,10.79
51,MA,1.5338,2.501027749229188,20.29%,4.6
52,MCD,3.6629,1.0846838602500923,8.57%,6.31
53,MCO,2.0425,1.859163824681066,12.21%,8.25
54,MDT,2.4965,3.3466296928327646,1.04%,0.38
55,MMC,2.2618,2.2934383552499833,9.73%,2.76
56,MMM,4.4859,2.8900943105467545,1.64%,5.13
57,MO,8.8684,1.4505849450506165,3.92%,0.0
58,MRK,2.3138,3.5567430191261282,8.17%,7.5
59,MSFT,2.3007,6.280162585506097,12.54%,2.63
60,NEE,2.5982,2.340807746209708,8.80%,9.85
61,NFLX,1.635,3.4279910104004063,21.72%,10.98
62,NKE,2.0436,3.047429571860576,8.56%,19.24
63,NSC,2.9593,2.6133573525487055,5.47%,4.54
64,NVDA,3.5519,3.473808519611978,21.20%,-17.57
65,ORCL,1.9008,1.4335972813715132,9.06%,3.73
66,PEP,3.3521,2.227643833648574,7.80%,5.74
67,PFE,1.1173,5.655434470891884,-14.94%,19.04
68,PG,4.3277,3.27542291820393,5.38%,1.23
69,PM,2.4533,1.3170348676810764,7.40%,4.23
70,PYPL,0.5571,7.170935359789849,15.76%,7.28
71,SCHW,1.6392,14.567083795342944,9.80%,3.54
72,SO,3.4609,2.225532617671346,7.30%,9.94
73,SPG,13.079,1.3077838185627797,8.60%,10.74
74,SPGI,2.2617,5.0718783220214245,12.70%,2.88
75,T,4.4541,2.5713964989704743,-0.64%,7.17
76,TGT,0.814,2.7693696564176093,-7.51%,-2.33
77,TMO,3.8993,2.684800181524236,8.57%,4.94
78,TMUS,0.3603,1.91016004871443,65.36%,6.97
79,TSLA,1.6016,32.44880418535127,10.66%,7.84
80,TXN,3.0209,2.8856409243531504,10.00%,7.62
81,UNH,1.5703,4.018799229330765,13.04%,4.74
82,UNP,2.7512,1.8838849701573521,9.01%,1.69
83,UPS,2.4608,2.734949801098693,3.62%,2.54
84,USB,1.0216,6.898271330367974,3.84%,2.21
85,V,1.4973,3.8085077951002226,14.65%,7.49
86,VZ,6.652,2.118037603808605,-0.26%,0.4
87,WFC,0.7586,7.412967191018301,5.68%,-6.79
88,WMT,3.6062,3.836926738378192,5.36%,11.79
89,XOM,1.809,8.912102494812528,-10.74%,10.51

1 Ticker Valuation Financial Health Estimated Growth Past Performance
2 0 AAPL 2.8478 2.0 3.0302422113761804 8.02% 1.55
3 1 ABBV 0.0 2.0 2.193817072592499 -4.17% 1.47
4 2 ABT 22.469 2.0 4.2017385414314745 -2.70% 16.58
5 3 ACN 2.9116 2.0 14.875260752606902 9.00% 3.05
6 4 ADBE 1.568 2.0 5.863371465573063 13.98% 2.39
7 5 AMAT 3.8395 2.0 5.141746200070696 13.27% 9.74
8 6 AMGN 1.2905 2.0 1.4403766539491842 1.72% 3.81
9 7 AMZN 2.2453 2.0 3.2852827358844294 -278.70% -42.47
10 8 APD 1.7767 2.0 3.0118487291777516 9.38% 1.68
11 9 AVGO 1.1592 2.0 1.8577465505829642 8.30% 2.43
12 10 BA 0.0 2.0 2.461537072809662 93.80% 987.5
13 11 BAC 4.1895 2.0 9.383988814376815 3.36% 7.07
14 12 BDX 2.4258 2.0 2.984745390693591 9.85% 5.53
15 13 BIDU 0.593 2.0 4.246444343249283 2.75% 23.16
16 14 BMY 0.0 2.0 2.394681364456072 3.75% 6.57
17 15 CAT 1.4198 2.0 2.258464279928722 12.87% 16.75
18 16 CCI 5.0871 2.0 1.3694508731327582 -4.38% 1.05
19 17 CHTR 0.362 2.0 1.4786877883476912 16.84% -2.77
20 18 CMCSA 0.8061 2.0 2.715595658044864 7.42% 9.12
21 19 CME 4.0654 2.0 48.27562947025644 4.53% 2.09
22 20 COST 3.6281 2.0 7.31458584090163 8.77% 0.74
23 21 CRM 1.3911 2.0 7.016538898353208 19.56% 15.89
24 22 CSCO 2.0002 2.0 11.618894448415535 7.39% 2.59
25 23 CSX 2.6633 2.0 2.3143622363575496 8.19% 5.95
26 24 CVS 1.364 2.0 3.1293966892439657 4.00% 6.24
27 25 CVX 2.7809 2.0 11.041989802476541 -7.68% 7.46
28 26 D 10.427 2.0 2.1917138338604962 5.60% 2.08
29 27 DE 1.1147 2.0 1.692748584312983 13.36% 6.62
30 28 DHR 3.3251 2.0 4.288019362646228 2.81% 12.23
31 29 DIS 1.0753 2.0 4.222309246053011 21.87% 2.8
32 30 DUK 3.0382 2.0 2.321933548864566 5.80% -0.19
33 31 EXC 2.5916 2.0 2.3196678154317443 6.30% 3.11
34 32 FDX 1.3726 2.0 2.252021634110481 4.78% -3.7
35 33 FIS 0.7185 2.0 3.052068758744753 2.05% 1.73
36 34 GE 3.1891 2.0 7.335622853574773 25.50% 25.71
37 35 GILD 0.5725 2.0 2.451602678394548 2.25% 9.03
38 36 GOOGL 1.1345 2.0 13.945161533816425 17.61% -6.07
39 37 GS 2.0757 2.0 5.026143790849673 1.11% 0.86
40 38 HD 1.7394 2.0 1.5453993687788299 2.05% 1.67
41 39 HON 2.2588 2.0 3.125091326583864 7.80% 3.59
42 40 IBM 2.0869 2.0 2.1667585446527013 6.62% 2.02
43 41 INTC 6.2729 2.0 3.6859347960137647 6.02% -12.15
44 42 ISRG 3.3782 2.0 15.96% 0.63
45 43 JNJ 4.3545 2.0 4.7247283088328 4.34% 4.52
46 44 JPM 3.2773 2.0 7.754062578305718 -4.33% 10.71
47 45 KO 3.5034 2.0 2.297264150943396 5.97% 5.0
48 46 LIN 3.4208 2.0 4.276934547584811 8.50% 35.35
49 47 LLY 1.8737 2.0 2.8153000487195237 24.38% -2.53
50 48 LMT 3.2504 2.0 3.5014102564102565 10.89% 0.18
51 49 LOW 1.2378 2.0 1.1503921671842923 7.48% 4.73
52 50 LRCX 1.7507 2.0 3.8445377840670143 0.01% 10.79
53 51 MA 1.5338 2.0 2.501027749229188 20.29% 4.6
54 52 MCD 3.6629 2.0 1.0846838602500923 8.57% 6.31
55 53 MCO 2.0425 2.0 1.859163824681066 12.21% 8.25
56 54 MDT 2.4965 2.0 3.3466296928327646 1.04% 0.38
57 55 MMC 2.2618 2.0 2.2934383552499833 9.73% 2.76
58 56 MMM 4.4859 2.0 2.8900943105467545 1.64% 5.13
59 57 MO 8.8684 2.0 1.4505849450506165 3.92% 0.0
60 58 MRK 2.3138 2.0 3.5567430191261282 8.17% 7.5
61 59 MSFT 2.3007 2.0 6.280162585506097 12.54% 2.63
62 60 NEE 2.5982 2.0 2.340807746209708 8.80% 9.85
63 61 NFLX 1.635 2.0 3.4279910104004063 21.72% 10.98
64 62 NKE 2.0436 2.0 3.047429571860576 8.56% 19.24
65 63 NSC 2.9593 2.0 2.6133573525487055 5.47% 4.54
66 64 NVDA 3.5519 2.0 3.473808519611978 21.20% -17.57
67 65 ORCL 1.9008 2.0 1.4335972813715132 9.06% 3.73
68 66 PEP 3.3521 2.0 2.227643833648574 7.80% 5.74
69 67 PFE 1.1173 2.0 5.655434470891884 -14.94% 19.04
70 68 PG 4.3277 2.0 3.27542291820393 5.38% 1.23
71 69 PM 2.4533 2.0 1.3170348676810764 7.40% 4.23
72 70 PYPL 0.5571 2.0 7.170935359789849 15.76% 7.28
73 71 SCHW 1.6392 2.0 14.567083795342944 9.80% 3.54
74 72 SO 3.4609 2.0 2.225532617671346 7.30% 9.94
75 73 SPG 13.079 2.0 1.3077838185627797 8.60% 10.74
76 74 SPGI 2.2617 2.0 5.0718783220214245 12.70% 2.88
77 75 T 4.4541 2.0 2.5713964989704743 -0.64% 7.17
78 76 TGT 0.814 2.0 2.7693696564176093 -7.51% -2.33
79 77 TMO 3.8993 2.0 2.684800181524236 8.57% 4.94
80 78 TMUS 0.3603 2.0 1.91016004871443 65.36% 6.97
81 79 TSLA 1.6016 2.0 32.44880418535127 10.66% 7.84
82 80 TXN 3.0209 2.0 2.8856409243531504 10.00% 7.62
83 81 UNH 1.5703 2.0 4.018799229330765 13.04% 4.74
84 82 UNP 2.7512 2.0 1.8838849701573521 9.01% 1.69
85 83 UPS 2.4608 2.0 2.734949801098693 3.62% 2.54
86 84 USB 1.0216 2.0 6.898271330367974 3.84% 2.21
87 85 V 1.4973 2.0 3.8085077951002226 14.65% 7.49
88 86 VZ 6.652 2.0 2.118037603808605 -0.26% 0.4
89 87 WFC 0.7586 2.0 7.412967191018301 5.68% -6.79
90 88 WMT 3.6062 2.0 3.836926738378192 5.36% 11.79
91 89 XOM 1.809 2.0 8.912102494812528 -10.74% 10.51

View file

@ -1,91 +1,91 @@
,Unnamed: 0,Ticker,Valuation,Financial Health,Estimated Growth,Past Performance
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
0,0,AAPL,99.66725122809231,66.36553167681646,111.32,39.06731462476843
1,1,ABBV,160.98123119547898,52.44250540564119,54.12,38.816439109405074
2,2,ABT,0.010900003867217779,88.4847135044686,60.11,104.36222986694207
3,3,ACN,98.07248876261579,196.5348267265113,116.12,43.99884594359548
4,4,ADBE,130.64497830681407,121.33329683650732,138.99,41.77566086253358
5,5,AMAT,75.39043306730187,107.22096954841571,135.94,71.01980883066668
6,6,AMGN,136.79045884196086,41.63779272111307,80.13,46.662518965274614
7,7,AMZN,114.62413820054807,70.96420763276674,0.0,0.593123489053842
8,8,APD,125.8450702813671,66.0396829422447,117.97,39.47760235265585
9,9,AVGO,139.59379881714588,47.409737426959204,112.7,41.90801333540908
10,10,BA,160.98123119547898,56.68999303341564,199.97,200.0
11,11,BAC,67.36367760818494,172.62681490942356,88.12,59.31337794386356
12,12,BDX,110.18184446244406,65.56101875270619,120.23,53.09513094145142
13,13,BIDU,150.82537602985602,89.36785915209987,85.13,135.63074628505646
14,14,BMY,160.98123119547898,55.61000755608042,90.05,57.248659978974956
15,15,CAT,133.9628473349977,53.44915611716712,134.18,105.21027752682537
16,16,CCI,48.96872890304626,40.71018606848477,53.29,37.51941455427019
17,17,CHTR,154.98194518352693,42.145288189151366,150.4,27.228633916550713
18,18,CMCSA,146.7680629125239,60.9072388344174,108.35,68.20633978961776
19,19,CME,70.163169032576,199.9999944399706,93.92,40.79282933144908
20,20,COST,80.41604288665233,146.75290668120707,115.0,36.58364459954663
21,21,CRM,134.59603167296376,141.96722446585485,159.84,100.91497446549263
22,22,CSCO,120.55997440080642,187.8181891543031,108.2,42.44050233000708
23,23,CSX,104.27713894583977,54.32939990722109,112.16,54.74916607300668
24,24,CVS,135.19103895654334,68.13585480437237,91.29,55.90979252844121
25,25,CVX,101.3396698471697,184.89508868758,41.41,60.95337842784888
26,26,D,4.3923133815296085,52.4099609978203,99.27,40.760366389641874
27,27,DE,140.52774327374226,45.06401997558897,136.33,57.453186220311125
28,28,DHR,87.79588678965173,90.19066851102973,85.42,82.78805519627885
29,29,DIS,141.3476576227695,88.8908622945864,166.75,43.14687042534553
30,30,DUK,94.91164830660327,54.4493244587776,100.27,33.88522180364372
31,31,EXC,106.0647977464432,54.41341938145345,102.77,44.20510797449332
32,32,FDX,135.00252241230626,53.34828594370465,95.17,25.114194866864718
33,33,FIS,148.46144015856456,66.7532456598581,81.72,39.63626807743001
34,34,GE,91.15790200486788,147.08103270034468,175.64,146.22351162424394
35,35,GILD,151.2044952147543,56.52871315531706,82.69,67.802408084516
36,36,GOOGL,140.11321872176285,195.01205475339648,153.22,20.354197361697015
37,37,GS,118.74543520148052,104.91754173574667,77.22,36.94371228161387
38,38,HD,126.71316498144698,43.03978176601594,81.72,39.445926743799376
39,39,HON,114.29369431763827,68.05851146515485,110.23,45.880078753481484
40,40,IBM,118.4751329913031,52.02481130473244,104.36,40.56599243772292
41,41,INTC,30.39471860378832,78.46005320973636,101.37,11.620366089371919
42,42,ISRG,86.49035040805836,49.498626511899,147.05,36.25598063973711
43,43,JNJ,63.72903613156852,98.89324695085209,92.98,49.25049996292883
44,44,JPM,88.97475154629515,153.33382263164697,53.49,75.5222345002856
45,45,KO,83.43140990057667,54.05918775871132,101.12,51.0539972645096
46,46,LIN,85.4463293760633,89.97115353516222,113.68,175.39951162067177
47,47,LLY,123.56822878561087,62.60962660154526,173.14,27.798098864965354
48,48,LMT,89.63955979696466,74.97011666247903,125.16,34.939329264522925
49,49,LOW,137.92406986378234,37.942774645770555,108.64,50.03421862699726
50,50,LRCX,126.45062656347639,81.50472102113417,72.08,75.89863458999143
51,51,MA,131.41764068463203,57.33384578800031,162.13,49.54808199123212
52,52,MCD,79.58085418616103,37.14128945781223,114.02,56.192189033719856
53,53,MCO,119.54500732824769,47.43024635444107,131.24,64.35179405953912
54,54,MDT,108.42969734788738,72.09166633965734,76.89,35.51979739263485
55,55,MMC,114.22021877736745,53.998842198480105,119.66,43.01166990391676
56,56,MMM,60.91079809533632,63.90352156150345,79.75,51.5498465941439
57,57,MO,9.33315076334979,41.77257707398821,90.89,34.42332481903656
58,58,MRK,112.94421971054255,76.0102792430849,112.06,61.12301790550875
59,59,MSFT,113.26609475449267,129.13298836649895,132.72,42.574394371216634
60,60,NEE,105.90038834256646,54.74899947615555,115.15,71.52441621014867
61,61,NFLX,129.11959281556602,73.59886372009423,166.33,76.7954778466989
62,62,NKE,119.51855642731759,66.67074321544456,113.97,117.48351818421081
63,63,NSC,96.88076222678136,59.188937679864566,98.62,49.3247825186535
64,64,NVDA,82.25461700620143,74.4533858647976,164.85,6.926609061624467
65,65,ORCL,122.92734777644266,41.548459098001416,116.42,46.376925277680336
66,66,PEP,87.131497664537,52.96770941659908,110.23,53.91814705158701
67,67,PFE,140.47340520393576,117.33062086687076,22.44,116.51242007359423
68,68,PG,64.31230077832718,70.78374002008977,98.17,38.07115813063641
69,69,PM,109.50100591046719,40.03460385353996,108.25,48.18188763164932
70,70,PYPL,151.48799177385294,144.477957779145,146.26,60.19328753757178
71,71,SCHW,129.0234669420565,196.0891176710779,119.99,45.70354212187421
72,72,SO,84.46652562371243,52.934831801195735,107.75,71.93845531637749
73,73,SPG,1.1854441448309712,39.91624507014297,114.17,75.66329877350253
74,74,SPGI,114.22266821500354,105.82958475937723,133.43,43.418194870339185
75,75,T,61.586410114552315,58.49189947763173,69.11,59.731454906145466
76,76,TGT,146.61361867919015,61.82217064046817,41.98,28.280252582031757
77,77,TMO,73.99122697155062,60.38671518508789,114.02,50.826203770832095
78,78,TMUS,155.01159044367853,48.17225938313191,199.49,58.89699852799944
79,79,TSLA,129.88191763420065,199.99687772267245,124.08,62.575536448354775
80,80,TXN,95.34312077123577,63.82608388490933,120.95,61.63351739609634
81,81,UNH,130.59286903995337,84.89118704487024,134.93,50.071745102527345
82,82,UNP,102.08194911395603,47.78896102415891,116.17,39.50929713815176
83,83,UPS,109.31516556780723,61.23566132359956,89.41,42.27357028519867
84,84,USB,142.45442985947,139.9993021005325,90.49,41.1838844914599
85,85,V,132.2376969692613,80.8097095034298,141.79,61.08058325638432
86,86,VZ,25.824157206441292,51.278180522481826,70.84,35.57825810344986
87,87,WFC,147.69065957371842,148.2762330181531,99.67,19.075069084803722
88,88,WMT,80.94310440425323,81.35774870114794,98.07,80.66162547687941
89,89,XOM,125.08994915257153,167.8541937577409,32.26,74.58447727917255

1 Unnamed: 0 Ticker Valuation Financial Health Estimated Growth Past Performance
2 0 0 AAPL 99.66725122809231 100.0 66.36553167681646 111.32 39.06731462476843
3 1 1 ABBV 160.98123119547898 100.0 52.44250540564119 54.12 38.816439109405074
4 2 2 ABT 0.010900003867217779 100.0 88.4847135044686 60.11 104.36222986694207
5 3 3 ACN 98.07248876261579 100.0 196.5348267265113 116.12 43.99884594359548
6 4 4 ADBE 130.64497830681407 100.0 121.33329683650732 138.99 41.77566086253358
7 5 5 AMAT 75.39043306730187 100.0 107.22096954841571 135.94 71.01980883066668
8 6 6 AMGN 136.79045884196086 100.0 41.63779272111307 80.13 46.662518965274614
9 7 7 AMZN 114.62413820054807 100.0 70.96420763276674 0.0 0.593123489053842
10 8 8 APD 125.8450702813671 100.0 66.0396829422447 117.97 39.47760235265585
11 9 9 AVGO 139.59379881714588 100.0 47.409737426959204 112.7 41.90801333540908
12 10 10 BA 160.98123119547898 100.0 56.68999303341564 199.97 200.0
13 11 11 BAC 67.36367760818494 100.0 172.62681490942356 88.12 59.31337794386356
14 12 12 BDX 110.18184446244406 100.0 65.56101875270619 120.23 53.09513094145142
15 13 13 BIDU 150.82537602985602 100.0 89.36785915209987 85.13 135.63074628505646
16 14 14 BMY 160.98123119547898 100.0 55.61000755608042 90.05 57.248659978974956
17 15 15 CAT 133.9628473349977 100.0 53.44915611716712 134.18 105.21027752682537
18 16 16 CCI 48.96872890304626 100.0 40.71018606848477 53.29 37.51941455427019
19 17 17 CHTR 154.98194518352693 100.0 42.145288189151366 150.4 27.228633916550713
20 18 18 CMCSA 146.7680629125239 100.0 60.9072388344174 108.35 68.20633978961776
21 19 19 CME 70.163169032576 100.0 199.9999944399706 93.92 40.79282933144908
22 20 20 COST 80.41604288665233 100.0 146.75290668120707 115.0 36.58364459954663
23 21 21 CRM 134.59603167296376 100.0 141.96722446585485 159.84 100.91497446549263
24 22 22 CSCO 120.55997440080642 100.0 187.8181891543031 108.2 42.44050233000708
25 23 23 CSX 104.27713894583977 100.0 54.32939990722109 112.16 54.74916607300668
26 24 24 CVS 135.19103895654334 100.0 68.13585480437237 91.29 55.90979252844121
27 25 25 CVX 101.3396698471697 100.0 184.89508868758 41.41 60.95337842784888
28 26 26 D 4.3923133815296085 100.0 52.4099609978203 99.27 40.760366389641874
29 27 27 DE 140.52774327374226 100.0 45.06401997558897 136.33 57.453186220311125
30 28 28 DHR 87.79588678965173 100.0 90.19066851102973 85.42 82.78805519627885
31 29 29 DIS 141.3476576227695 100.0 88.8908622945864 166.75 43.14687042534553
32 30 30 DUK 94.91164830660327 100.0 54.4493244587776 100.27 33.88522180364372
33 31 31 EXC 106.0647977464432 100.0 54.41341938145345 102.77 44.20510797449332
34 32 32 FDX 135.00252241230626 100.0 53.34828594370465 95.17 25.114194866864718
35 33 33 FIS 148.46144015856456 100.0 66.7532456598581 81.72 39.63626807743001
36 34 34 GE 91.15790200486788 100.0 147.08103270034468 175.64 146.22351162424394
37 35 35 GILD 151.2044952147543 100.0 56.52871315531706 82.69 67.802408084516
38 36 36 GOOGL 140.11321872176285 100.0 195.01205475339648 153.22 20.354197361697015
39 37 37 GS 118.74543520148052 100.0 104.91754173574667 77.22 36.94371228161387
40 38 38 HD 126.71316498144698 100.0 43.03978176601594 81.72 39.445926743799376
41 39 39 HON 114.29369431763827 100.0 68.05851146515485 110.23 45.880078753481484
42 40 40 IBM 118.4751329913031 100.0 52.02481130473244 104.36 40.56599243772292
43 41 41 INTC 30.39471860378832 100.0 78.46005320973636 101.37 11.620366089371919
44 42 42 ISRG 86.49035040805836 100.0 49.498626511899 147.05 36.25598063973711
45 43 43 JNJ 63.72903613156852 100.0 98.89324695085209 92.98 49.25049996292883
46 44 44 JPM 88.97475154629515 100.0 153.33382263164697 53.49 75.5222345002856
47 45 45 KO 83.43140990057667 100.0 54.05918775871132 101.12 51.0539972645096
48 46 46 LIN 85.4463293760633 100.0 89.97115353516222 113.68 175.39951162067177
49 47 47 LLY 123.56822878561087 100.0 62.60962660154526 173.14 27.798098864965354
50 48 48 LMT 89.63955979696466 100.0 74.97011666247903 125.16 34.939329264522925
51 49 49 LOW 137.92406986378234 100.0 37.942774645770555 108.64 50.03421862699726
52 50 50 LRCX 126.45062656347639 100.0 81.50472102113417 72.08 75.89863458999143
53 51 51 MA 131.41764068463203 100.0 57.33384578800031 162.13 49.54808199123212
54 52 52 MCD 79.58085418616103 100.0 37.14128945781223 114.02 56.192189033719856
55 53 53 MCO 119.54500732824769 100.0 47.43024635444107 131.24 64.35179405953912
56 54 54 MDT 108.42969734788738 100.0 72.09166633965734 76.89 35.51979739263485
57 55 55 MMC 114.22021877736745 100.0 53.998842198480105 119.66 43.01166990391676
58 56 56 MMM 60.91079809533632 100.0 63.90352156150345 79.75 51.5498465941439
59 57 57 MO 9.33315076334979 100.0 41.77257707398821 90.89 34.42332481903656
60 58 58 MRK 112.94421971054255 100.0 76.0102792430849 112.06 61.12301790550875
61 59 59 MSFT 113.26609475449267 100.0 129.13298836649895 132.72 42.574394371216634
62 60 60 NEE 105.90038834256646 100.0 54.74899947615555 115.15 71.52441621014867
63 61 61 NFLX 129.11959281556602 100.0 73.59886372009423 166.33 76.7954778466989
64 62 62 NKE 119.51855642731759 100.0 66.67074321544456 113.97 117.48351818421081
65 63 63 NSC 96.88076222678136 100.0 59.188937679864566 98.62 49.3247825186535
66 64 64 NVDA 82.25461700620143 100.0 74.4533858647976 164.85 6.926609061624467
67 65 65 ORCL 122.92734777644266 100.0 41.548459098001416 116.42 46.376925277680336
68 66 66 PEP 87.131497664537 100.0 52.96770941659908 110.23 53.91814705158701
69 67 67 PFE 140.47340520393576 100.0 117.33062086687076 22.44 116.51242007359423
70 68 68 PG 64.31230077832718 100.0 70.78374002008977 98.17 38.07115813063641
71 69 69 PM 109.50100591046719 100.0 40.03460385353996 108.25 48.18188763164932
72 70 70 PYPL 151.48799177385294 100.0 144.477957779145 146.26 60.19328753757178
73 71 71 SCHW 129.0234669420565 100.0 196.0891176710779 119.99 45.70354212187421
74 72 72 SO 84.46652562371243 100.0 52.934831801195735 107.75 71.93845531637749
75 73 73 SPG 1.1854441448309712 100.0 39.91624507014297 114.17 75.66329877350253
76 74 74 SPGI 114.22266821500354 100.0 105.82958475937723 133.43 43.418194870339185
77 75 75 T 61.586410114552315 100.0 58.49189947763173 69.11 59.731454906145466
78 76 76 TGT 146.61361867919015 100.0 61.82217064046817 41.98 28.280252582031757
79 77 77 TMO 73.99122697155062 100.0 60.38671518508789 114.02 50.826203770832095
80 78 78 TMUS 155.01159044367853 100.0 48.17225938313191 199.49 58.89699852799944
81 79 79 TSLA 129.88191763420065 100.0 199.99687772267245 124.08 62.575536448354775
82 80 80 TXN 95.34312077123577 100.0 63.82608388490933 120.95 61.63351739609634
83 81 81 UNH 130.59286903995337 100.0 84.89118704487024 134.93 50.071745102527345
84 82 82 UNP 102.08194911395603 100.0 47.78896102415891 116.17 39.50929713815176
85 83 83 UPS 109.31516556780723 100.0 61.23566132359956 89.41 42.27357028519867
86 84 84 USB 142.45442985947 100.0 139.9993021005325 90.49 41.1838844914599
87 85 85 V 132.2376969692613 100.0 80.8097095034298 141.79 61.08058325638432
88 86 86 VZ 25.824157206441292 100.0 51.278180522481826 70.84 35.57825810344986
89 87 87 WFC 147.69065957371842 100.0 148.2762330181531 99.67 19.075069084803722
90 88 88 WMT 80.94310440425323 100.0 81.35774870114794 98.07 80.66162547687941
91 89 89 XOM 125.08994915257153 100.0 167.8541937577409 32.26 74.58447727917255

View file

@ -44,7 +44,7 @@ def get_financial_health(ticker: str):
# Create financial health column
try:
balance_sheet['financial_health'] = balance_sheet['TotalAssets'] / balance_sheet['TotalDebts']
balance_sheet['financial_health'] = balance_sheet['TotalAssets'] / balance_sheet['TotalDebt']
except KeyError:
return 2.0
@ -95,20 +95,20 @@ def normalizer():
''' Normalize the dataframe columns to a range between 0 and 200'''
not_normalized = pd.read_csv('Elaborated_Data/Not_Normalized.csv') # Read Not_normalized .csv
print(not_normalized)
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.4*(-not_normalized['Financial Health'].mean()+not_normalized['Financial Health'])))) #FINANCIAL HEALTH STAT
not_normalized['Financial Health'] = fh_values
print(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