Subject Details

Data Visualization with Python

Subject Code Credits CIE Marks SEE Marks Total Marks Exam Hours
BCS358D 01 50 50 100 02

Lab Manual


Experiments :-

1.
a) Write a python program to find the best of two test average marks out of three test’s marks accepted from the user.

b) Develop a Python program to check whether a given number is palindrome or not andalso count the number of occurrences of each digit in the input number.

Datatypes: https://www.youtube.com/watch?v=gCCVsvgR2KU Operators: https://www.youtube.com/watch?v=v5MR5JnKcZI Flow Control: https://www.youtube.com/watch?v=PqFKRqpHrjwFor loop: https://www.youtube.com/watch?v=0ZvaDa8eT5s While loop: https://www.youtube.com/watch?v=HZARImviDxg Exceptions: https://www.youtube.com/watch?v=6SPDvPK38tw

2.
a) Defined as a function F as Fn = Fn-1 + Fn-2. Write a Python program which accepts a value for N (where N >0) as input and pass this value to the function. Display suitable error message if the condition for input value is not followed.

b) Develop a python program to convert binary to decimal, octal to hexadecimal using functions.

Functions:https://www.youtube.com/watch?v=BVfCWuca9nw Arguments:https://www.youtube.com/watch?v=ijXMGpoMkhQ Return value: https://www.youtube.com/watch?v=nuNXiEDnM44

3.
a) Write a Python program that accepts a sentence and find the number of words, digits, uppercase letters and lowercase letters.

b) Write a Python program to find the string similarity between two given strings

Sample Output:Sample Output:
Original string: Original string:
Python Exercises Python Exercises
Python Exercises Python Exercise
Similarity between two said strings: Similarity between two said strings:1.0 0.967741935483871

Strings: https://www.youtube.com/watch?v=lSItwlnF0eU
String functions: https://www.youtube.com/watch?v=9a3CxJyTq00

4.
a) Write a Python program to Demonstrate how to Draw a Bar Plot using Matplotlib.

b) Write a Python program to Demonstrate how to Draw a Scatter Plot using Matplotlib.

https://www.youtube.com/watch?v=RRHQ6Fs1b8w&list=PLjVLYmrlmjGcC0B_FP3bkJ- JIPkV5GuZR&index=3

https://www.youtube.com/watch?v=7ABCuhWO9II&list=PLjVLYmrlmjGcC0B_FP3bkJ- JIPkV5GuZR&index=4

5.
a) Write a Python program to Demonstrate how to Draw a Histogram Plot using Matplotlib.

b) Write a Python program to Demonstrate how to Draw a Pie Chart using Matplotlib.

https://www.youtube.com/watch?v=Qk7caotaQUQ&list=PLjVLYmrlmjGcC0B_FP3bkJ- JIPkV5GuZR&index=6

https://www.youtube.com/watch?v=PSji21jUNO0&list=PLjVLYmrlmjGcC0B_FP3bkJ- JIPkV5GuZR&index=7

6.
a) Write a Python program to illustrate Linear Plotting using Matplotlib.

b) Write a Python program to illustrate liner plotting with line formatting using Matplotlib. https://www.youtube.com/watch?v=UO98lJQ3QGI&list=PL-osiE80TeTvipOqomVEeZ1HRrcEvtZB_

7.

Write a Python program which explains uses of customizing seaborn plots with Aesthetic functions.

https://www.youtube.com/watch?v=6GUZXDef2U0

8. Write a Python program to explain working with bokeh line graph using Annotations and Legends. br82

a) Write a Python program for plotting different types of plots using Bokeh.

https://www.youtube.com/watch?v=HDvxYoRadcA

9.
Write a Python program to draw 3D Plots using Plotly Libraries.

https://www.youtube.com/watch?v=cCck7hCanpw&list=PLE50-dh6JzC4onX- qkv9H3HtPbBVA8M94&index=4

10.
a) Write a Python program to draw Time Series using Plotly Libraries.

b) Write a Python program for creating Maps using Plotly Libraries.

https://www.youtube.com/watch?v=xnJ2TNrGYik&list=PLE50-dh6JzC4onX- qkv9H3HtPbBVA8M94&index=5

https://www.youtube.com/watch?v=D35m2CdMhVs&list=PLE50-dh6JzC4onX- qkv9H3HtPbBVA8M94&index=6


Warning: include(comment.php): Failed to open stream: No such file or directory in /home/u934364017/domains/vtudeveloper.in/public_html/3rd-semester-data-visualization-with-python-lab-manual.php on line 136

Warning: include(): Failed opening 'comment.php' for inclusion (include_path='.:/opt/alt/php82/usr/share/pear:/opt/alt/php82/usr/share/php:/usr/share/pear:/usr/share/php') in /home/u934364017/domains/vtudeveloper.in/public_html/3rd-semester-data-visualization-with-python-lab-manual.php on line 136