Python Programming Lab
Python Programming Lab
Ex No: 1
TASK:
Write Python code to create a Pandas DataFrame using Numpy array.
CODE:
OUTPUT:
PYTHON PROGRAMMING
Ex No: 2
TASK:
Write Python code to create a Pandas DataFrame using series.
CODE:
OUTPUT:
PYTHON PROGRAMMING
Ex No: 3
TASK:
Write Python code to create a Pandas DataFrame using series.
CODE:
OUTPUT:
PYTHON PROGRAMMING
Ex No: 4
TASK:
Create a dataset in the form of CSV and perform the following:
b) Perform statistical functions on the dataset to check the data, checking missing values, filling
missing data etc.
CODE:
OUTPUT:
PYTHON PROGRAMMING
Ex No: 5
TASK:
Create a dataset in the form of CSV and perform the following:
a) Read CSV File and convert it into Pandas DataFrame.
b) Perform statistical functions on the dataset to check the data, checking missing values, delete the
rows with missing values
CODE:
OUTPUT:
PYTHON PROGRAMMING
Ex No: 6
TASK:
Write a program to draw a pie chart and bar graph to visualize the comparative rainfall data for 12
months in Tamil Nadu by using CSV dataset.
CODE:
OUTPUT: