To write a python program for reading the csv file content
Load the CSV into a DataFrame.
Print the number of contents to be displayed using df.head().
The number of rows returned is defined in Pandas option settings.
Check your system's maximum column with the pd.options.display.max_column statement.
Increase the maximum number of rows to display the entire DataFrame.
#program to read the nba file
#Developed by:R.SANJANA
#Register Number: 23008112
import pandas 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 the program is written to read the csv file.