Advertisement
Guest User

Untitled

a guest
Dec 10th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.15 KB | None | 0 0
  1. Equilibrium_Temperatures = Confirmed_Exoplanets['pl_eqt']
  2. Goldilocks_Zone = (Equilibrium_Temperatures >= 179) & (Equilibrium_Temperatures <= 305)
  3. Habitable_Planets_data = Confirmed_Exoplanets[Goldilocks_Zone]
  4. Habitable_Planets_data
  5.  
  6.  
  7. Habitables1 = Confirmed_Exoplanets['pl_name'] == 'TRAPPIST-1 g'
  8. Habitable_Planets_data1 = Confirmed_Exoplanets[Habitables1]
  9. Habitable_Planets_data1
  10. Habitables2 = Confirmed_Exoplanets['pl_name'] == 'Proxima Cen b'
  11. Habitable_Planets_data2 = Confirmed_Exoplanets[Habitables2]
  12. Habitable_Planets_data = Habitable_Planets_data2 + Habitable_Planets_data1
  13. Habitable_Planets_data
  14.  
  15.  
  16. p1 = np.where(Confirmed_Exoplanets['pl_name'] == 'TRAPPIST-1 e')
  17. p2 = np.where(Confirmed_Exoplanets['pl_name'] == 'Proxima Cen b')
  18. p3 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-1652 b')
  19. p4 = np.where(Confirmed_Exoplanets['pl_name'] == 'GJ 667 C c')
  20. p5 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-442 b')
  21. p6 = np.where(Confirmed_Exoplanets['pl_name'] == 'GJ 667 C f')
  22. p7 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-1229 b')
  23. p8 = np.where(Confirmed_Exoplanets['pl_name'] == 'TRAPPIST-1 f')
  24. p9 = np.where(Confirmed_Exoplanets['pl_name'] == 'LHS 1140 b')
  25. p10 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kapteyn b')
  26. p11 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-62 f')
  27. p12 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-186 f')
  28. p13 = np.where(Confirmed_Exoplanets['pl_name'] == 'GJ 667 C e')
  29. p14 = np.where(Confirmed_Exoplanets['pl_name'] == 'TRAPPIST-1 g')
  30. p15 = np.where(Confirmed_Exoplanets['pl_name'] == 'TRAPPIST-1 d')
  31. p16 = np.where(Confirmed_Exoplanets['pl_name'] == 'GJ 3323 b')
  32. p17 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-438 b')
  33. p18 = np.where(Confirmed_Exoplanets['pl_name'] == 'Ross 128 b')
  34. p19 = np.where(Confirmed_Exoplanets['pl_name'] == 'GJ 273 b')
  35. p20 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-296 e')
  36. p21 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-62 e')
  37. p22 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-452 b')
  38. p23 = np.where(Confirmed_Exoplanets['pl_name'] == 'K2-72 e')
  39. p24 = np.where(Confirmed_Exoplanets['pl_name'] == 'Wolf 1061 c')
  40. p25 = np.where(Confirmed_Exoplanets['pl_name'] == 'GJ 832 c')
  41. p26 = np.where(Confirmed_Exoplanets['pl_name'] == 'K2-3 d')
  42. p27 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-1544 b')
  43. p28 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-283 c')
  44. p29 = np.where(Confirmed_Exoplanets['pl_name'] == 'tau Cet e')
  45. p30 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-1410 b')
  46. p31 = np.where(Confirmed_Exoplanets['pl_name'] == 'GJ 180 c')
  47. p32 = np.where(Confirmed_Exoplanets['pl_name'] == 'HD 283869 b')
  48. p33 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-1638 b')
  49. p34 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-440 b')
  50. p35 = np.where(Confirmed_Exoplanets['pl_name'] == 'GJ 180 b')
  51. p36 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-705 b')
  52. p37 = np.where(Confirmed_Exoplanets['pl_name'] == 'HD 40307 g')
  53. p38 = np.where(Confirmed_Exoplanets['pl_name'] == 'GJ 163 c')
  54. p39 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-61 b')
  55. p40 = np.where(Confirmed_Exoplanets['pl_name'] == 'K2-18 b')
  56. p41 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-1606 b')
  57. p42 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-1090 b')
  58. p43 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-443 b')
  59. p44 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-22 b')
  60. p45 = np.where(Confirmed_Exoplanets['pl_name'] == 'GJ 422 b')
  61. p46 = np.where(Confirmed_Exoplanets['pl_name'] == 'K2-9 b')
  62. p47 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-1552 b')
  63. p48 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-1540 b')
  64. p49 = np.where(Confirmed_Exoplanets['pl_name'] == 'GJ 3293 d')
  65. p50 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-298 d')
  66. p51 = np.where(Confirmed_Exoplanets['pl_name'] == 'KIC-5522786 b')
  67. p52 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-174 d')
  68. p53 = np.where(Confirmed_Exoplanets['pl_name'] == 'Kepler-296 f')
  69. p54 = np.where(Confirmed_Exoplanets['pl_name'] == 'GJ 682 c')
  70. p55 = np.where(Confirmed_Exoplanets['pl_name'] == 'KOI-4427 b')
  71. h1 = Confirmed_Exoplanets.iloc[p1]
  72. h2 = Confirmed_Exoplanets.iloc[p2]
  73. h3 = Confirmed_Exoplanets.iloc[p3]
  74. h4 = Confirmed_Exoplanets.iloc[p4]
  75. h5 = Confirmed_Exoplanets.iloc[p5]
  76. h6 = Confirmed_Exoplanets.iloc[p6]
  77. h7 = Confirmed_Exoplanets.iloc[p7]
  78. h8 = Confirmed_Exoplanets.iloc[p8]
  79. h9 = Confirmed_Exoplanets.iloc[p9]
  80. h10 = Confirmed_Exoplanets.iloc[p10]
  81. h11 = Confirmed_Exoplanets.iloc[p11]
  82. h12 = Confirmed_Exoplanets.iloc[p12]
  83. h13 = Confirmed_Exoplanets.iloc[p13]
  84. h14 = Confirmed_Exoplanets.iloc[p14]
  85. h15 = Confirmed_Exoplanets.iloc[p15]
  86. h16 = Confirmed_Exoplanets.iloc[p16]
  87. h17 = Confirmed_Exoplanets.iloc[p17]
  88. h18 = Confirmed_Exoplanets.iloc[p18]
  89. h19 = Confirmed_Exoplanets.iloc[p19]
  90. h20 = Confirmed_Exoplanets.iloc[p20]
  91. h21 = Confirmed_Exoplanets.iloc[p21]
  92. h22 = Confirmed_Exoplanets.iloc[p22]
  93. h23 = Confirmed_Exoplanets.iloc[p23]
  94. h24 = Confirmed_Exoplanets.iloc[p24]
  95. h25 = Confirmed_Exoplanets.iloc[p25]
  96. h26 = Confirmed_Exoplanets.iloc[p26]
  97. h27 = Confirmed_Exoplanets.iloc[p27]
  98. h28 = Confirmed_Exoplanets.iloc[p28]
  99. h29 = Confirmed_Exoplanets.iloc[p29]
  100. h30 = Confirmed_Exoplanets.iloc[p30]
  101. h31 = Confirmed_Exoplanets.iloc[p31]
  102. h32 = Confirmed_Exoplanets.iloc[p32]
  103. h33 = Confirmed_Exoplanets.iloc[p33]
  104. h34 = Confirmed_Exoplanets.iloc[p34]
  105. h35 = Confirmed_Exoplanets.iloc[p35]
  106. h36 = Confirmed_Exoplanets.iloc[p36]
  107. h37 = Confirmed_Exoplanets.iloc[p37]
  108. h38 = Confirmed_Exoplanets.iloc[p38]
  109. h39 = Confirmed_Exoplanets.iloc[p39]
  110. h40 = Confirmed_Exoplanets.iloc[p40]
  111. h41 = Confirmed_Exoplanets.iloc[p41]
  112. h42 = Confirmed_Exoplanets.iloc[p42]
  113. h43 = Confirmed_Exoplanets.iloc[p43]
  114. h44 = Confirmed_Exoplanets.iloc[p44]
  115. h45 = Confirmed_Exoplanets.iloc[p45]
  116. h46 = Confirmed_Exoplanets.iloc[p46]
  117. h47 = Confirmed_Exoplanets.iloc[p47]
  118. h48 = Confirmed_Exoplanets.iloc[p48]
  119. h49 = Confirmed_Exoplanets.iloc[p49]
  120. h50 = Confirmed_Exoplanets.iloc[p50]
  121. h51 = Confirmed_Exoplanets.iloc[p51]
  122. h52 = Confirmed_Exoplanets.iloc[p52]
  123. h53 = Confirmed_Exoplanets.iloc[p53]
  124. h54 = Confirmed_Exoplanets.iloc[p54]
  125. h55 = Confirmed_Exoplanets.iloc[p55]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement