Q. 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?


Answer =

header argument

Example:-
pd.read_csv(‘file.csv’, header = None)

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post