Ip Practical File
Ip Practical File
IP PRACTICAL FILE
(065)
For the academic year 2023-24
Signature of teacher signature of external
examiner
Page |2
________________ ______________
INDEX
Sno Particulars
Practicals on matplotlib
Write a python program to plot line chart for
1 salary hike of an employee
Write a python program to plot the pass
percentage of the year 2019 2020,classes 6th
2 to 12th using line chart
output
Output
Page |8
Output
Output:
Series 1
Series2
Addition of series
P a g e | 10
Multiplication of series
Division of series
Subtraction of series
P a g e | 11
Vector operations
Series
P a g e | 12
P a g e | 13
1.series.index
2.series.values
3. series.size
4.series.hasnans
P a g e | 14
5.series.empty
Head()
Tail()
P a g e | 15
dictionary of series
empty dataframe
P a g e | 22
output
head()
tail()
P a g e | 23
iterrows()
P a g e | 24
add
Select
Dataframe.iat[]
P a g e | 25
Dataframe.at[]
Delete
Del dataframe[label]
Dataframe.drop()
P a g e | 26
Dataframe.pop()
Dataframe.Loc[]
Dataframe.iloc[]
P a g e | 28
Dataframe
Concatenation
P a g e | 29
Merging
P a g e | 30
Section-B(DATA VISUALISATION)
Write a python program to plot line chart for salary
hike of an employee
Output
P a g e | 32
output
P a g e | 33
Output
P a g e | 34
Output
P a g e | 37
Dataframe
Output
P a g e | 39
Database management
Create a student table with student
id,name,marks as attribute where studentid
is primary key
Table
- Round
P a g e | 43
- Uppercase
- lowercase
P a g e | 44
-dayname
-monthname
-day of month
P a g e | 47
-dayname
-month of year