PDS2
PDS2
___________
Marks
Q.1 (a) What is the role of python in data science? 05
(b) List and explain operators used in Python. 05
Q.3 (a) What are the magic functions in python ? explain it with an 05
example.
(b) Write a python code to print current date and time 05
OR
Q.3 (a) Write a python code to read a csv file. 05
(b) Explain Slicing rows and columns with examples. 05
Q.4 (a) What is the use of labels and legends in plot? Explain with 05
examples.
(b) What do you understand by Data visualization? Discuss some 05
Python’s data visualization techniques.
OR
Q.4 (a) Write a python code to draw a bar chart utilizing at least three 05
properties of it
(b) Explain Scatter plots with an example. 05