Python Assignment Questions
1. Write a Python program using NumPy to perform array operations such as mean,
standard deviation, and transpose.
2. Write a Python program using Pandas to clean and preprocess a dataset (handle
missing values, remove duplicates, rename columns).
3. Write a Python program using Pandas to perform Exploratory Data Analysis (EDA)
and display correlation matrix and group-wise averages.
4. Write a Python program to generate random data using NumPy and save it to a CSV
file using Pandas.
5. Write a Python program to implement Linear Regression using Scikit-learn on a
dataset downloaded from the internet.
6. Write a Python program to implement Logistic Regression using Scikit-learn for
binary classification.
7. Write a Python program for advanced data cleaning – handle missing values, outliers,
and inconsistent column names.
8. Write a Python program to perform Object Detection using the YOLO model (students
can use any image dataset).
9. Write a Python program to implement a Random Forest Classifier and display
accuracy and classification report.
10. Write a Python program for Data Preprocessing and Feature Scaling before training
any ML model.
Note:
1. At the top of each page, the student's name and roll number should be
written.
2. Attach the Output of each program on the last page.
3. Students who obtain the same output will be asked to justify their work, and
if their justification is not found satisfactory, their grades will be
compromised.
4. Each student needs to complete their own work; no copied work is allowed.
5. Students will find a real-life dataset beneficial. For example, leaf images from
your environment, animal images, etc., a 200-image dataset will be enough to
apply models like YOLO.