Advertisements
Advertisements
प्रश्न
Assertion (A): The output of print(df) and print(df.loc[:]) will be same for a DataFrame df.
Reason (R): The statement print(df.loc[:]) will display all rows and columns of the DataFrame df, thus showing the entire data.
विकल्प
Both A and R are True, and R correctly explains A.
Both A and R are True, but R does not correctly explain A.
A is True, but R is False.
A is False, but R is True.
MCQ
अभिकथन और तर्क
Advertisements
उत्तर
Both A and R are True, and R correctly explains A.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
