Importing and exporting data between pandas and CSV file.
To create and open a data frame using ‘Student_result.csv’ file using Pandas.

To display row labels, column labels data types of each column and the dimensions

To display the shape (number of rows and columns) of the CSV file.

Solution :- 

import pandas as pd

import csv

 

#Reading the Data

df = pd.read_csv(“Student.csv”)

 

#Display Name of Columns

print(df.columns)

 

#Display no of rows and column

print(df.shape)

print(df.info())