Q. Are the following two statements same? Why/Why not?
(i)
pd.read_csv('zoo.csv', sep = ',')
(ii)
pd.read_csv('zoo.csv')
Answer =
Yes, these two statement are same. These two statement are reading a csv file first statement reading a csv file with a separator ‘,’ comma and second statement reading a csv file with a default separator ‘,’ comma.
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )