Q. By default, read_csv() uses the values of the 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 = none

For example:
mdf = pd. read_csv ("Mydata.csv", header = none)

Post a Comment

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

Previous Post Next Post