0% found this document useful (0 votes)
16 views10 pages

Vijay

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views10 pages

Vijay

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

NAME –Rawat Vijay sonu

ROLL NO.-232267

COURSE – BSC [PHYSICAL SCIENCE WITH C.S]

3rd semister

Question 1: Write a pandas program to add subtract multiple and divide two pandas series.
Sample Series: [2, 4, 6, 8, 10], [1, 3, 5, 7, 9]

Answer:

Output:
Question 2: Write a Pandas program to convert a NumPy array to a Pandas series.

Answer:

Output:
Question 3: Write a Pandas program to convert the first column of a Data Frame as a Series.

Answer:

Output:
Question 4: Write a Python program to draw a line using given axis values with suitable label in the
x axis , y axis and a title.

Answer:

Output:
Question 5: Write a python program to read data from an excel file and display.

Answer:

EXCEL SHEET
Output:

Question 6: Write a python program to read data from a csv file and display.

Answer:

CSV FILE
Output:

Question 7: Write a Python program to remove duplicates from a list.

Answer:

Output:

Question 8: Write a Python program to find the second smallest number in a list.
Answer:

Output:

Question 9: Write a Python program to select the odd items from a list.

Answer:
Output:

Question 10: Write a Python program to insert an element at a specified position into a given list.

Answer:
Answer:

You might also like