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
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
