Assignment-7
Assignment-7
Q1. You are a data analyst at an e-commerce company. Your task is to analyze sales data,
clean and process it, perform sta s cal analysis, and generate visual insights to help the
business make informed decisions.
1. Use your roll number as the random seed to generate unique data for each student.
2. Follow the ques ons step by step, as each part builds upon the previous one.
3. Submit the assignment as a Jupyter Notebook (.ipynb) with:
Well-documented code and clear comments.
Markdown explana ons for each step.
Screenshots of the plots and outputs.
Q.3 For the array: a = np.array([-1.8, -1.6, -0.5, 0.5,1.6, 1.8, 3.0]).
Q.4 WAP to swap two elements in a list in Python Using a Temporary Variable.
Q.5 Write a Python program to swap two elements in a set by conver ng it to a list first.