4. By default, read_csv() uses the values of first row as column headers in dataframes. Which argument will you give to ensure that the top/first row’s data is used as data and not as column headers ?
5. Which argument would you give to read.csv() if you only want to read top 10 rows of data ?

Ans 4:
df = pd.read_csv( “File Path” , header = None )

Ans 5:
We would give ‘nrows’ argument to read.csv() if you only want to read top 10 rows of data. for example:
df = pd.read_csv( “File Path” , header = None , nrows = 10)

error: Content is protected !!