Practical File Krish Sahu
Practical File Krish Sahu
Practical File Krish Sahu
CLASS : 12
ROLL NO :
INDEX
S.NO TOPICS
1.PYTHON PANDA PROGRAMS
2.CSV TO PYTHON PANDAS
3.DATAVISUALIZATION
4.SQL QUERIES
CERTIFICATE
This is to certify that this practical file is a
bonafide record of the project work done by
Krish Sahu of class 12 CBSE Board.No …..….…… in
the academic year 2022 – 2023.
The project has been submitted in partial
fulfillment of AISSCE for practical held at St.
Mary's School, Safdarjung Enclave, New Delhi on
…………..
CODE
OUTPUT
2.Write a Pandas program to add, subtract, multiple and divide two Pandas
Series.
CODE
OUTPUT
3.Write a program to demonstrate the head() and tail() functions on Series.
CODE
OUTPUT
4.Write a program to display all the elements greater than 100 from a Series
CODE
OUTPUT
5.Write a Python Program to create dataframe using Dictionary and display all
attributes
CODE
OUTPUT
6.Write a Python Program to perform head( ) , tail ( ) and Transpose Functions
on dataframe. Also to display the reverse of the dataframe.
CODE
OUTPUT
7. Write a Python Program to create the dataframe and selecting rows/column
using loc and iloc function.
CODE
OUTPUT
8. Write a Python program to demonstrate the addition and deletion of columns
in a Dataframe.
CODE
OUTPUT
9. Write a Python program to demonstrate the addition and deletion of rows in a
Dataframe
CODE
OUTPUT
10. Write a Python program to change the index numbers of a data frame and also
to rename the existing column names
CODE
OUTPUT
11. Write a program to export/import data from a csv file into a dataframe and
display the Dataframe
CODE
OUTPUT
OUTPUT
14. Write a program to plot a bar chart in python from a Dataframe
CODE
OUTPUT
15. Create Horizontal Bar chart from a Dataframe.
CODE
OUTPUT
16. Create a multi-horizontal bar chart from a Dataframe
CODE
OUTPUT
17. Create histogram
CODE
OUTPUT
SQL QUERIES
1. Create database and activate it