ARTIFICIAL INTELLIGENCE RECORD GRADE – XI I [2025 - 2026 ] TABLE OF CONTENTS S.No Name of the Exercises 1. (a) Create a Python program to generate a 2D array using NumPy and access its elements using forward indexing, backward indexing, and implement slicing. (b) Create a Python program to perform element - wise addition, subtraction, multiplication, and division on two 2D NumPy arrays of the same shape. 2. Create a Python program to create a Pandas Series using a dictionary and access its elements using indexing and slicing. 3. Creating a DataFrame for Employee Detail s(Such as Emp_ID, Name, Department , Salary) Using a Dictionary of Lists and Performing the Following Operations: (a) Display the entire DataFrame (b) Display the first 5 records (c) Display the last 3 records 4. Creating a DataFrame Using Series for Health Parameters (RBC, WBC, Platelets, Haemoglobin ) Patient - Wise and Accessing Rows/Columns 5. Creating Python Program using DataFrame for Plant Growth Profile (Light Intensity, CO 2 , Water Volume, Growth Rate) from a Dictionary of Lists and Perform operations to Add New Column , add a New Row and Delete a Row 6 Creating a Python program to display the attributes of the DataFrame. 7 Creating a Python Program to Store and Read Employee Details Using a CSV File 8. Creating a Python program to analyse Student Marks from a Public Dataset CSV using Pandas DataFrame, and Perform Statistica l Functions (mean , median, mode and Standard deviation) and Handling Missing Values from Public Datasets (Such as : www.data.gov.in or www.kaggle.com ) 9. Creating Python Program to Evaluate a Student Exam Result Prediction Model using Accuracy, Precision, Recall, F1 - Score. Orange Data Mining 10. Creating Data Visualization Workflow in Orange: Exploring BMI and Heart Rate Data. 11. Classification and Performance Evaluation (Model Evaluation) of Student Grades using Orange Data Mining tool. 12. Clustering of Patients Based on Symptoms ( e.g., Fever, BP) Using Orange Data Mining tool. 13. Visualizing Word Frequencies with Word Cloud Using Orange Data Mining tool. 14 Perform Image Classification and Analysis using the Orange Data Mining Tool Data Storytelling 15. Analysing the Impact of Social Media Usage on Mental Health Among Teenagers (2015 - 2024). 1 EX.NO: 1 (a) DATE: CREATING AND ACCESSING ELEMENTS OF A NUMPY 2D ARRAY USING INDEXING AND SLICING AIM: To write a Python program to generate a 2D array using NumPy and access its elements using forward indexing, backward indexing, and perform slicing. SOURCE CODE: Result: Thus, the above Python program has been executed and the output is verified s uccessfully. Sample Output: ************************************************************************************************ 2 EX.NO: 1 (b) DATE: PERFORMING ELEMENT - WISE ARITHMETIC OPERATIONS ON 2D NUMPY ARRAYS AIM: To write a Python program to perform element - wise addition, subtraction, multiplication, and division on two 2D NumPy arrays of the same shape. SOURCE CODE: RESULT: Thus, the above Python program has been executed and the output is verified s uccessfully. 3 Sample Output: ************************************************************************************ ************** 4 EX.NO: 2 DATE: CREATING A PANDAS SERIES USING A DICTIONARY AND ACCESSING ELEMENTS WITH INDEXING AND SLICING AIM: To write a Python program to create a Pandas Series using a dictionary and access its elements using indexing and slicing. SOURCE CODE: RESULT: Thus, the above Python program has been executed and the output is verified s uccessfully. 5 SAMPLE OUTPUT: ************************************************************************************************** 6 EX.NO: 3 DATE: CREATING A DATAFRAME FOR EMPLOYEE DETAILS USING A DICTIONARY OF LISTS AND ACCESSING RECORDS AIM: To write a Python program to create a Pandas DataFrame for employee details (Emp_ID, Name, Department, Salary) using a dictionary of lists, and perform the following operations: (a) Display the entire DataFram e (b) Display the first 5 records (c) Display the last 3 records SOURCE CODE: RESULT: Thus, the above Python program has been executed and the output is verified s uccessfully. 7 Sample Output: ************************************************************************************************** 8 EX.NO: 4 DATE: CREATING A PANDAS DATAFRAME USING SERIES FOR PATIENT HEALTH PARAMETERS AND ACCESSING ROWS AND COLUMNS AIM: To write a Python program to create a Pandas DataFrame named df using Series for the given table of health parameters (RBC, WBC, Platelets, Haemoglobin ) patient - wise and perform the following operations: (i) Display only the column 'RBC' from DataFrame df (ii) Display the row details of 'Patient1' and 'Patient2' from DataFrame df (iii) Display the columns 'WBC' and 'Hemoglobin' for 'Patient2' and 'Patient3' from DataFrame df (iv) Display any three consecutive rows and three columns from DataFrame df SOURCE CODE: RESULT: Thus, the above Python program has been executed and the output is verified s uccessfully. 9 SAMPLE OUTPUT: ************************************************************************************************** 10 EX.NO: 5 DATE: CREATING A DATAFRAME FOR PLANT GROWTH PROFILE AND PERFORMING COLUMN INSERTION, ROW ADDITION, AND ROW DELETION AIM: To write a Python program to create a Pandas DataFrame using a dictionary of lists for the plant growth profile (Light Intensity, CO ₂ Level, Water Volume, Growth Rate), and perform the following operations: (i) Add a new column "Soil pH" with values [6.5, 7.0, 6.8, 7.2] (ii) Add a new row "Tulsi" with values [250, 380, 950, 18.4, 6.9] (iii) Delete the row details of "Neem" from DataFrame df SOURCE CODE: RESULT: Thus, the above Python program has been executed and the output is verified s uccessfully. 11 SAMPLE OUTPUT: ************************************************************************************************** 12 EX.NO: 6 DATE: CREATING A PYTHON PROGRAM TO ACCESS AND DISPLAY DATAFRAME ATTRIBUTES. AIM: To write a Python program to create a Pandas DataFrame and display its various attributes such as shape, size, data types, index, column labels, and to perform the transpose of the DataFrame. SOUCRCE CODE: RESULT: Thus, the above Python program has been executed and the output is verified s uccessfully. 13 Sample Output: ************************************************************************************************** 14 EX.NO: 7 DATE: CREATING A PYTHON PROGRAM TO PERFORM WRITING AND READING OPERATIONS IN A CSV FILE AIM: To write a Python program that stores employee details such as Empno, Name, and Salary and Department into an "Employee.csv" file, and also reads employee details from the same CSV file. SOURCE CODE: RESULT: Thus, the above Python program has been executed and the output is verified s uccessfully. 15 SAMPLE OUTPUT: ************************************************************************************************** 16 EX.NO: 8 DATE: ANALYZING STUDENT MARKS FROM A PUBLIC CSV DATASET USING PANDAS WITH STATISTICAL ANALYSIS AND MISSING VALUE HANDLING AIM: To write a Python program that reads a student marks dataset (downloaded from a public source like data.gov.in or kaggle.com), handles missing values, and performs statistical analysis using Pandas to find mean, median, mode, and standard deviation. SOURCE CODE: 17 Sample CSV file: Python Executed Output: