Q. Which argument would you give to read_csv() if you only want to read the top 5 rows of data?
Answer :-
nrows, for example:
import pandas as pd df = pd. read_csv ("Employee.csv", nrows = 5) print (df)
Answer :-
nrows, for example:
import pandas as pd df = pd. read_csv ("Employee.csv", nrows = 5) print (df)
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )