Q. Which argument would you give to read.csv) if you only want to read top 10 rows of data?
Answer =
nrows argument
Example:-
pd.read_csv(‘file.csv’, name = [‘name’, ’city’], nrows = 10)
Answer =
nrows argument
Example:-
pd.read_csv(‘file.csv’, name = [‘name’, ’city’], nrows = 10)
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )