index
index
GE-1 (Electronics)
PROGRAM LIST
Write programs to perform following functions on the given Student datasets using Pandas library:
StudentDataset1
StudentDataset2
1. Creating Data frame from the given dataset by using DataFrame( ) function in pandas
2. Reading data (certain number of rows and columns) from a Data frame using Locate Row,
loc[ ] and iloc[ ] function
3. Adding name to each row using ‘index’ and to access data of a row using row index name
4. To access data of a student by specifying ‘Student Name
5. Reading student data from .xls/.xlsx file, .csv file and .json file
6. Determining the shape (rows, columns) of the dataset using shape function
7. Determining the size (no. of elements) in the given dataset using size function
8. Displaying first few rows/ last few rows of a dataframe using head/tail function
9. Displaying information about the type of data in a dataframe using info function
10. Listing names of all the columns in a dataset
11. Inserting a new column in an existing dataframe using/without using insert function
12. Inserting a new row in an existing dataframe using loc function
13. Concatenation of two dataframes using concat function
14. To evaluate percentage and display it in a separate column
15. Evaluation of the following statistical parameters using describe function: Count, Mean, Min,
Max, Standard Deviation, 25th Percentile, 50th Percentile, 75th Percentile
LAB 3 - 4: Data Representation using Vectors and Matrices using NUMPY Library
Create matrices A and B as shown in the attachment using array() function in numpy
Write program to find add, subtract and multiply A and B
Write a program to find the determinant of A and B
2. Determine the Rank and Nullity of matrices 1 to 5
u = (0.5, 0.4, 0.4, 0.5, 0.1, 0.4, 0.1) and v = (-1,-2, 1,-2, 3, 1,-5)
i. Check if u or v is a unit vector.
ii. Calculate the dot product, <u, v>
iii. Are u and v orthogonal?
LAB 5: Data Representation using Vectors and Matrices using NUMPY Library
1. Create the dataframe shown below and perform the following functions using PANDAS library
2. Download Pima Indians Diabetes Dataset using the link given below:
https://www.kaggle.com/datasets/kumargh/pimaindiansdiabetescsv
2. Download Pima Indians Diabetes Dataset using the link given below:
https://www.kaggle.com/datasets/kumargh/pimaindiansdiabetescsv
Perform similar Data Munging and Data Aggregation operations on the Pima Indians Diabetes
Dataset as performed on CaloriesDataSet.csv
3. Download Boston House Prices Dataset using the link given below:
https://www.kaggle.com/datasets/vikrishnan/boston-house-prices
Perform similar Data Munging and Data Aggregation operations on the Boston House Prices
Dataset as performed on CaloriesDataSet.csv in Q.1