Advertisement
HawkeyeHS

Untitled

Apr 2nd, 2025
411
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.04 KB | None | 0 0
  1. :: loading settings :: url = jar:file:/opt/spark/jars/ivy-2.5.1.jar!/org/apache/ivy/core/settings/ivysettings.xml
  2. /opt/spark/python/lib/pyspark.zip/pyspark/sql/dataframe.py:169: UserWarning: DataFrame.sql_ctx is an internal property, and will be removed in future releases. Use DataFrame.sparkSession instead.
  3. Total number of flight routes: 64639
  4. Top 10 Longest Flight Routes:
  5. +--------------+-----------+------------+---------+--------+
  6. |Source_Airport|Source_City|Dest_Airport|Dest_City|duration|
  7. +--------------+-----------+------------+---------+--------+
  8. |       Chennai|    Chennai|   Bangalore|Bangalore|    2990|
  9. |     Bangalore|  Bangalore|     Chennai|  Chennai|    2865|
  10. |       Chennai|    Chennai|   Bangalore|Bangalore|    2825|
  11. |       Chennai|    Chennai|   Bangalore|Bangalore|    2750|
  12. |       Chennai|    Chennai|     Kolkata|  Kolkata|    2670|
  13. |     Hyderabad|  Hyderabad|     Kolkata|  Kolkata|    2520|
  14. |     Bangalore|  Bangalore|   Hyderabad|Hyderabad|    2510|
  15. +--------------+-----------+------------+---------+--------+
  16.  
  17. /opt/spark/python/lib/pyspark.zip/pyspark/sql/dataframe.py:148: UserWarning: DataFrame constructor is internal. Do not directly use it.
  18. Airport with Highest Degree Vertex:
  19. +-------+------+------+
  20. |Airport|  City|degree|
  21. +-------+------+------+
  22. | Mumbai|Mumbai| 25814|
  23. +-------+------+------+
  24.  
  25. Top 10 Most Important Airports (PageRank):
  26. +---------+---------+------------------+
  27. |  Airport|     City|          pagerank|
  28. +---------+---------+------------------+
  29. |   Mumbai|   Mumbai| 1.177578663733893|
  30. |  Kolkata|  Kolkata|1.1058404462806701|
  31. |    Delhi|    Delhi| 1.061646105421074|
  32. |Bangalore|Bangalore|0.9578667085188407|
  33. |Hyderabad|Hyderabad|0.8702698857831558|
  34. |  Chennai|  Chennai|0.8267981902623668|
  35. +---------+---------+------------------+
  36.  
  37. Cheapest Unique Routes:
  38. +--------------+-----------+------------+---------+--------+----+
  39. |Source_Airport|Source_City|Dest_Airport|Dest_City|duration|cost|
  40. +--------------+-----------+------------+---------+--------+----+
  41. |Chennai       |Chennai    |Hyderabad   |Hyderabad|530     |1116|
  42. |Chennai       |Chennai    |Bangalore   |Bangalore|50      |1457|
  43. |Hyderabad     |Hyderabad  |Chennai     |Chennai  |500     |1558|
  44. |Bangalore     |Bangalore  |Chennai     |Chennai  |60      |1619|
  45. |Bangalore     |Bangalore  |Hyderabad   |Hyderabad|275     |1711|
  46. |Hyderabad     |Hyderabad  |Bangalore   |Bangalore|435     |1773|
  47. |Chennai       |Chennai    |Mumbai      |Mumbai   |525     |1848|
  48. |Mumbai        |Mumbai     |Chennai     |Chennai  |260     |1909|
  49. |Delhi         |Delhi      |Chennai     |Chennai  |415     |2018|
  50. |Delhi         |Delhi      |Hyderabad   |Hyderabad|140     |2042|
  51. |Chennai       |Chennai    |Delhi       |Delhi    |320     |2072|
  52. |Hyderabad     |Hyderabad  |Kolkata     |Kolkata  |325     |2077|
  53. |Mumbai        |Mumbai     |Bangalore   |Bangalore|975     |2095|
  54. |Mumbai        |Mumbai     |Hyderabad   |Hyderabad|785     |2126|
  55. |Bangalore     |Bangalore  |Mumbai      |Mumbai   |105     |2172|
  56. |Hyderabad     |Hyderabad  |Delhi       |Delhi    |135     |2222|
  57. |Hyderabad     |Hyderabad  |Mumbai      |Mumbai   |580     |2273|
  58. |Delhi         |Delhi      |Mumbai      |Mumbai   |130     |2304|
  59. |Mumbai        |Mumbai     |Delhi       |Delhi    |550     |2359|
  60. |Chennai       |Chennai    |Kolkata     |Kolkata  |375     |2383|
  61. |Kolkata       |Kolkata    |Hyderabad   |Hyderabad|370     |2460|
  62. |Delhi         |Delhi      |Kolkata     |Kolkata  |1015    |2505|
  63. |Bangalore     |Bangalore  |Delhi       |Delhi    |430     |2750|
  64. |Mumbai        |Mumbai     |Kolkata     |Kolkata  |395     |2863|
  65. |Kolkata       |Kolkata    |Chennai     |Chennai  |145     |2996|
  66. |Kolkata       |Kolkata    |Delhi       |Delhi    |325     |3024|
  67. |Bangalore     |Bangalore  |Kolkata     |Kolkata  |380     |3056|
  68. |Delhi         |Delhi      |Bangalore   |Bangalore|445     |3121|
  69. |Kolkata       |Kolkata    |Mumbai      |Mumbai   |425     |3413|
  70. |Kolkata       |Kolkata    |Bangalore   |Bangalore|310     |3500|
  71. +--------------+-----------+------------+---------+--------+----+
  72.  
  73.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement