Project IP 2023
Project IP 2023
VIDYA ANDIR,
JAWA
WAHAR
ARvIDY
A
SHYAMA,
AMAL
nANC
o93}3
Teacher In-Charge 1 1 2 3
Extemal Examinex
(Mr. J. K. JAISWAL)
ACKNOWLEDGEMENT
marks- Notepad
File Edit Format View Help
Atul, 65,67,76
Aditya,45, 34, 3
Sidhart,97,92, 88
Aryan, 66, 5 6 , 6 e
Bhanu, 85, 90,87
A
3. Write a program to read from a CSV file Employee.csv
and create a dataframe from it.
marks - Notepad
OUTPUT
Dataframe after fetching data from cSV file
Name Marks1 Marks2 Marks3
Atul 65 67 76
Aditya 45 34 30
Sidhart 97 92 88
Aryan 66 56 60
4 Bhanu 85 90 87
Datafrane after all calculations
Name Marks1 Marks2 Marks3 Total Average Marks
Atul 65 67 76 208 69.333333
1 Aditya 45 34 30 109 36.333333
Sidhart 97 92 88 277 92.333333
Aryan 66 56 60 182 60.666667
Bhanu 85 90 87 262 87.333333
ACTIVITY-02
Aim:
Consider the dataframeallDf as shown below:
Name Product Target Sales
ZoneA Purv oven 56000.0 58000.0
ZoneB Paschim AC 70000.e 68000.0
ZoneC Kendriya AC 75000.e 780ee.o
ZoneD Dakshin oven 60000.0 61000.0
ZoneE Uttar Oven NaN NaN
ZoneF Rural Tubewell1 NaN NaN
Input:
import pandas as pd
Employee - Notepad
Input
import pandas as pd
df3- pd.read_csv("C: \\pywork\ \Employee . csv")
print (df3)
OUTPUT:
Employee- Notepad
File Edit Format View Help
import pandas as pd
df4 pd.read_csv("C:\\pywork\\ Employee.csv", header None, skiprows=1)
print(df4)
OUTPUT:
1 2 3
1001 Arun Manager 56000
1 1002 Varun Manager 55900
1003 SouraV Analyst 3500e
33 1004 Aarav Clerk 33400
1005 Ruchi PR Office 43000
ACTIVITY-05
Aim:
CSV file
Write a program to read from a
the
EmpName, Designation and Salary. Also print
maximum salary given to an employee.
Employee - Notepad
File Edit Format View Help
OUTPUT:
EMPNO
8698 ENAME SAL
8499 BINA 2850
8844 ANYA 160e
8521 KULDEEP 1500
8654 SETH 1250
8900 MONIN 1250
JATIN 956
Bibliography
Informatics practices, Class XII, by NCERT
Intormatics practices, by Sumita Aroraa
https://www.w3schools.com
http://www.tutorialspoint.com
>https://onecompiler.com/mysql