To write a python program for reading the csv file content.
PC Anaconda - Python 3.7
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.
##Developed by: PAVIZHI.B
##REGISTER NUMBER: 212221230077
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.