Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Equilibrium_Temperatures = Confirmed_Exoplanets['pl_eqt']
- Goldilocks_Zone = (Equilibrium_Temperatures >= 179) & (Equilibrium_Temperatures <= 305)
- Habitable_Planets_data = Confirmed_Exoplanets[Goldilocks_Zone]
- Habitable_Planets_data
- Habitables1 = Confirmed_Exoplanets['pl_name'] == 'TRAPPIST-1 g'
- Habitable_Planets_data1 = Confirmed_Exoplanets[Habitables1]
- Habitable_Planets_data1
- Habitables2 = Confirmed_Exoplanets['pl_name'] == 'Proxima Cen b'
- Habitable_Planets_data2 = Confirmed_Exoplanets[Habitables2]
- Habitable_Planets_data = Habitable_Planets_data2 + Habitable_Planets_data1
- Habitable_Planets_data
- p1 = np.where(Confirmed_Exoplanets['pl_name'] == 'TRAPPIST-1 e')
- p2 = np.where(Confirmed_Exoplanets['pl_name'] == 'Proxima Cen b')
- p3 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-1652 b')
- p4 = np.where(Confirmed_Exoplanets['pl_name'] == 'GJ 667 C c')
- p5 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-442 b')
- p6 = np.where(Confirmed_Exoplanets['pl_name'] == 'GJ 667 C f')
- p7 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-1229 b')
- p8 = np.where(Confirmed_Exoplanets['pl_name'] == 'TRAPPIST-1 f')
- p9 = np.where(Confirmed_Exoplanets['pl_name'] == 'LHS 1140 b')
- p10 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kapteyn b')
- p11 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-62 f')
- p12 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-186 f')
- p13 = np.where(Confirmed_Exoplanets['pl_name'] == 'GJ 667 C e')
- p14 = np.where(Confirmed_Exoplanets['pl_name'] == 'TRAPPIST-1 g')
- p15 = np.where(Confirmed_Exoplanets['pl_name'] == 'TRAPPIST-1 d')
- p16 = np.where(Confirmed_Exoplanets['pl_name'] == 'GJ 3323 b')
- p17 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-438 b')
- p18 = np.where(Confirmed_Exoplanets['pl_name'] == 'Ross 128 b')
- p19 = np.where(Confirmed_Exoplanets['pl_name'] == 'GJ 273 b')
- p20 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-296 e')
- p21 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-62 e')
- p22 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-452 b')
- p23 = np.where(Confirmed_Exoplanets['pl_name'] == 'K2-72 e')
- p24 = np.where(Confirmed_Exoplanets['pl_name'] == 'Wolf 1061 c')
- p25 = np.where(Confirmed_Exoplanets['pl_name'] == 'GJ 832 c')
- p26 = np.where(Confirmed_Exoplanets['pl_name'] == 'K2-3 d')
- p27 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-1544 b')
- p28 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-283 c')
- p29 = np.where(Confirmed_Exoplanets['pl_name'] == 'tau Cet e')
- p30 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-1410 b')
- p31 = np.where(Confirmed_Exoplanets['pl_name'] == 'GJ 180 c')
- p32 = np.where(Confirmed_Exoplanets['pl_name'] == 'HD 283869 b')
- p33 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-1638 b')
- p34 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-440 b')
- p35 = np.where(Confirmed_Exoplanets['pl_name'] == 'GJ 180 b')
- p36 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-705 b')
- p37 = np.where(Confirmed_Exoplanets['pl_name'] == 'HD 40307 g')
- p38 = np.where(Confirmed_Exoplanets['pl_name'] == 'GJ 163 c')
- p39 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-61 b')
- p40 = np.where(Confirmed_Exoplanets['pl_name'] == 'K2-18 b')
- p41 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-1606 b')
- p42 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-1090 b')
- p43 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-443 b')
- p44 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-22 b')
- p45 = np.where(Confirmed_Exoplanets['pl_name'] == 'GJ 422 b')
- p46 = np.where(Confirmed_Exoplanets['pl_name'] == 'K2-9 b')
- p47 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-1552 b')
- p48 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-1540 b')
- p49 = np.where(Confirmed_Exoplanets['pl_name'] == 'GJ 3293 d')
- p50 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-298 d')
- p51 = np.where(Confirmed_Exoplanets['pl_name'] == 'KIC-5522786 b')
- p52 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-174 d')
- p53 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-296 f')
- p54 = np.where(Confirmed_Exoplanets['pl_name'] == 'GJ 682 c')
- p55 = np.where(Confirmed_Exoplanets['pl_name'] == 'KOI-4427 b')
- h1 = Confirmed_Exoplanets.iloc[p1]
- h2 = Confirmed_Exoplanets.iloc[p2]
- h3 = Confirmed_Exoplanets.iloc[p3]
- h4 = Confirmed_Exoplanets.iloc[p4]
- h5 = Confirmed_Exoplanets.iloc[p5]
- h6 = Confirmed_Exoplanets.iloc[p6]
- h7 = Confirmed_Exoplanets.iloc[p7]
- h8 = Confirmed_Exoplanets.iloc[p8]
- h9 = Confirmed_Exoplanets.iloc[p9]
- h10 = Confirmed_Exoplanets.iloc[p10]
- h11 = Confirmed_Exoplanets.iloc[p11]
- h12 = Confirmed_Exoplanets.iloc[p12]
- h13 = Confirmed_Exoplanets.iloc[p13]
- h14 = Confirmed_Exoplanets.iloc[p14]
- h15 = Confirmed_Exoplanets.iloc[p15]
- h16 = Confirmed_Exoplanets.iloc[p16]
- h17 = Confirmed_Exoplanets.iloc[p17]
- h18 = Confirmed_Exoplanets.iloc[p18]
- h19 = Confirmed_Exoplanets.iloc[p19]
- h20 = Confirmed_Exoplanets.iloc[p20]
- h21 = Confirmed_Exoplanets.iloc[p21]
- h22 = Confirmed_Exoplanets.iloc[p22]
- h23 = Confirmed_Exoplanets.iloc[p23]
- h24 = Confirmed_Exoplanets.iloc[p24]
- h25 = Confirmed_Exoplanets.iloc[p25]
- h26 = Confirmed_Exoplanets.iloc[p26]
- h27 = Confirmed_Exoplanets.iloc[p27]
- h28 = Confirmed_Exoplanets.iloc[p28]
- h29 = Confirmed_Exoplanets.iloc[p29]
- h30 = Confirmed_Exoplanets.iloc[p30]
- h31 = Confirmed_Exoplanets.iloc[p31]
- h32 = Confirmed_Exoplanets.iloc[p32]
- h33 = Confirmed_Exoplanets.iloc[p33]
- h34 = Confirmed_Exoplanets.iloc[p34]
- h35 = Confirmed_Exoplanets.iloc[p35]
- h36 = Confirmed_Exoplanets.iloc[p36]
- h37 = Confirmed_Exoplanets.iloc[p37]
- h38 = Confirmed_Exoplanets.iloc[p38]
- h39 = Confirmed_Exoplanets.iloc[p39]
- h40 = Confirmed_Exoplanets.iloc[p40]
- h41 = Confirmed_Exoplanets.iloc[p41]
- h42 = Confirmed_Exoplanets.iloc[p42]
- h43 = Confirmed_Exoplanets.iloc[p43]
- h44 = Confirmed_Exoplanets.iloc[p44]
- h45 = Confirmed_Exoplanets.iloc[p45]
- h46 = Confirmed_Exoplanets.iloc[p46]
- h47 = Confirmed_Exoplanets.iloc[p47]
- h48 = Confirmed_Exoplanets.iloc[p48]
- h49 = Confirmed_Exoplanets.iloc[p49]
- h50 = Confirmed_Exoplanets.iloc[p50]
- h51 = Confirmed_Exoplanets.iloc[p51]
- h52 = Confirmed_Exoplanets.iloc[p52]
- h53 = Confirmed_Exoplanets.iloc[p53]
- h54 = Confirmed_Exoplanets.iloc[p54]
- h55 = Confirmed_Exoplanets.iloc[p55]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement