Project Overview

Welcome to the Python Galactic Exploration Challenge: Chart the Stars! In this interactive exercise, you will embark on a journey as a data scientist for the Galactic Exploration Agency (GEA). Your mission is to analyze and visualize astronomical data, manage resources for interstellar missions, and uncover hidden patterns in the cosmos. Leveraging Python’s powerful data analysis libraries alongside interactive tools like CodeMirror and Pyodide, you’ll gain hands-on experience in solving real-world astronomical challenges.

Through a series of engaging tasks, you’ll enhance your Python programming skills, deepen your understanding of data analysis, and contribute to humanity’s quest to explore the galaxy.

Objective

By the end of this exercise, you will:

Tasks

Embark on the following tasks to chart the stars and manage interstellar missions. Each task is designed to guide you through critical data analysis and visualization scenarios using Python. After completing each task, you can check your answers using the provided sample solutions.

Task 1: List All Stars in the Dataset

Objective: Retrieve a list of all stars in the dataset with their details.

Instructions:

Task 2: Identify the Brightest Stars

Objective: Determine the top 5 brightest stars based on their apparent magnitude.

Instructions:

Task 3: Analyze Exoplanet Discoveries Over Time

Objective: Visualize the number of exoplanet discoveries each year.

Instructions:

Task 4: Map Missions to Their Target Stars

Objective: Create a visualization showing which missions are targeting which stars.

Instructions:

Task 5: Calculate Average Exoplanet Mass by Star Type

Objective: Determine the average mass of exoplanets orbiting different spectral types of stars.

Instructions:

Task 6: Forecast Future Exoplanet Discoveries

Objective: Predict the number of exoplanet discoveries in the next five years based on historical data.

Instructions:

Task 7: Visualize Star Distribution in Constellations

Objective: Create a visual representation of how stars are distributed across different constellations.

Instructions:

Task 8: Optimize Resource Allocation for Missions

Objective: Allocate available resources to active missions based on their distance and importance.

Instructions: