0% found this document useful (0 votes)
7 views11 pages

My Document-1

The document outlines tasks related to data analysis and visualization using Python's Matplotlib library. It includes creating a student table with attributes like student ID, name, and marks, and performing data aggregation to summarize marks. Additionally, it describes creating a new table by joining two existing tables based on order information.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views11 pages

My Document-1

The document outlines tasks related to data analysis and visualization using Python's Matplotlib library. It includes creating a student table with attributes like student ID, name, and marks, and performing data aggregation to summarize marks. Additionally, it describes creating a new table by joining two existing tables based on order information.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

#8 For the Data frames created

#16 above, analyze, and plot appropriate charts

with title.

Output;
#9 Take data of your interest from an open source (e.g. data.gov.in),
#17

aggregate and summarize it. Then plot it using different plotting

functions of the Matplotlib library.


#10 Create a student table with the student id, name, and marks as
#18

attributes where the student id is the primary key.

+------------+----------+-------+
| Student_ID | Name | Marks |
+------------+----------+-------+
| | | |
+------------+----------+-------+

+------------+--------------+-------+
| Student_ID | Name | Marks |
+------------+--------------+-------+
| 1 | John Doe | 85.50 |
| 2 | Jane Doe | 90.25 |
| 3 | Alice Smith | 78.00 |
| 4 | Bob Johnson | 92.00 |
| 5 | Eve Williams | 88.00 |
+------------+--------------+-------+
+------------+--------------+-------+
| Student_ID | Name | Marks |
+------------+--------------+-------+
| 1 | John Doe | 85.50 |
| 2 | Jane Doe | 90.25 |
| 4 | Bob Johnson | 92.00 |
| 5 | Eve Williams | 88.00 |
+------------+--------------+-------+

+-----------+-----------+-----------+--------------+
| Min_Marks | Max_Marks | Sum_Marks | Average_Marks|
+-----------+-----------+-----------+--------------+
| 78.00 | 92.00 | 434.75 | 86.95 |
+-----------+-----------+-----------+--------------+

+------------+---------------+-------+
| Student_ID | Name | Marks |
+------------+---------------+-------+
| 4 | Bob Johnson | 92.00 |
| 2 | Jane Doe | 90.25 |
| 5 | Eve Williams | 88.00 |
| 1 | John Doe | 85.50 |
| 3 | Alice Smith | 78.00 |
+------------+---------------+-------+
#11
#19 Create a new table (order ID, customer Name, and order Date) by

joining two tables (order ID, customer ID, and order Date).
Output:

| Order_ID | Customer_Name | Order_Date |


|----------|----------------|------------|
| 1 | John Doe | 2022-01-01 |
| 2 | Jane Doe | 2022-01-15 |
| 3 | John Doe | 2022-02-01 |
| 4 | Bob Johnson | 2022-03-01 |
| 5 | Jane Doe | 2022-04-01 |

You might also like