Question 3: Libraries: Pandas (15 points) Part A (5 points)…

Question 3: Libraries: Pandas (15 points) Part A (5 points) Create a pandas DataFrame with data about 8-10 people you know (friends, family, fictional characters, etc.). Include at least 4 columns with mixed data types (names, ages, cities, hobbies, favorite numbers, etc.). Show the code to create this DataFrame. At least 8 rows and 4 columns Mixed data types (strings, integers, floats) Meaningful column names Display the DataFrame Part B (5 points) Perform these operations on your DataFrame: Set one column as the index Add a new calculated column based on existing data Sort the DataFrame by one column Filter the DataFrame using a condition you define Select specific rows and columns using both .loc and .iloc Part C (5 points) Create a bar plot of one of your numerical columns and provide a title that reflects your specific data. Remember: Use people you know or fictional characters to make your DataFrame more interesting and personal!

Refer to Table 8-17. What is nominal GDP in 2024?  Table 8-1…

Refer to Table 8-17. What is nominal GDP in 2024?  Table 8-17    2021 2024 Product Quantity Price Quantity Price Movies 20 $6.00 30 $7.00 Burgers 100 2.00 90 2.50 Bikes 3 1,000.00 6 1,100.00  A very simple economy produces three goods: movies, burgers, and bikes. The quantities produced and their corresponding prices for 2021 and 2024 are shown in the table above.