Vijay
Vijay
ROLL NO.-232267
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:
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: