To write a program to read from a csv file
import pandas library
Raed the csv file using df = pd.read_csv('nba.csv')
print the head and tail and column and rows
print the output
End the program
Developed by: Soundariyan M N
Register no: 22008347
import pands as pd
df = pd.read_csv('nba.csv')
print(df.head(10))
print(df.tail())
print("column",len(df.axes[0]))
print("rows".len(df.axes[1]))
Thus a program to read from a csv file has been written successfully