sa 11 ip chapter 12
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 ?
‘header’ argument is used in the read_csv() function to tell the function to use a certain row as columns. Default is 0. If you want the first row to be used as a normal row and not as a column header, give the value None to the ‘header’ argument. e.g. import pandas as pd data