0% found this document useful (0 votes)
19 views

Informatics Practices

The document discusses pandas and MySQL. It provides a list of tasks to create pandas series and dataframes, perform operations on them, and plot various charts. It also lists tasks to create MySQL tables, insert and delete records, apply functions and sort data.

Uploaded by

Mariyam
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

Informatics Practices

The document discusses pandas and MySQL. It provides a list of tasks to create pandas series and dataframes, perform operations on them, and plot various charts. It also lists tasks to create MySQL tables, insert and delete records, apply functions and sort data.

Uploaded by

Mariyam
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 26

INTERNATIONAL INDIAN SCHOOL JEDDAH

INFORMATICS
PRACTICES
PRACTICAL FILE

Name: Mariyam Ateeq


Class and section: 12a2
Roll. No.: 11
Topic: Series, Data Frames,
Matplotlib,MySQL

ACKNOWLEGDEM
ENT

I would like to sincerely thank


Ms. Bushra Zaidi for her
valuable guidance, useful
suggestions and relevant ideas
that helped in completion of
this practical file.

CERTIFICATE

This is to certify that Miss


Mariyam Ateeq of class XII
A-2 has successfully
completed the practical under
the supervision of Ms. Bushra
Zaidi for the Academic year
2022-2023.

INDEX
1.Pandas
2.Mysql
(1)
PANDAS
.
1 Installing Pandas

2.Creating a series
3. Write a program to perform basic Mathematical operations
on two series:

Input:

Output:
4. Write the output for the following:

Output:

5. Write the output of the Following :

Output:
6. Write the program to check whether a series is empty or
not:

Input:

Output:
7. Write the following to display the following series S1 in descending
order:
0 500
1 200
2 900
3 600

Input:

Output:
8. To plot a line chart for date versus temperature:

Input:

Output:
9.To create a horizontal Bar chart:

Input:

Output:
10. To plot Multiple bar chart :

Input:

Output:
11. To plot a histogram:

Input:

Output:
12.Create an empty dataframe.

13. Create a dataframe


named as students using a list of names of 5 students.
14.Write a program to create a dataframe of players using
a list of names and scores of the previous three matches.
(2)
MYSQL
1. Create table student.

2. Inserting records
3. Displaying the table created.

4. Deleting records.
5. Fetching record with criteria.

6.Maximum, Minimum, Sum and Average of marks.


7.Sorting marks in descending order
8. Performing math/numeric functions

9.Applying string functions


10. Applying SQRT function

11.Date
function

You might also like