हिंदी

Assertion (A): A Series is a one dimensional array and a DataFrame is a two-dimensional array containing sequence of values of any data type. (int, float, list, string, etc.) - Informatics Practices

Advertisements
Advertisements

प्रश्न

Assertion (A): A Series is a one dimensional array and a DataFrame is a two-dimensional array containing sequence of values of any data type. (int, float, list, string, etc.) 

Reason (R): Both Series and DataFrames have by default numeric indexes starting from zero. 

विकल्प

  • Both (A) and (R) are true and (R) is the correct explanation for (A).

  • Both (A) and (R) are true and (R) is not the correct explanation for (A).

  • (A) is true and (R) is false.

  • (A) is false but (R) is true.

MCQ
अभिकथन और तर्क

उत्तर

Both (A) and (R) are true and (R) is not the correct explanation for (A).

Explanation: 

Although the statement accurately characterises the properties of Series and DataFrame objects, it is untrue regarding DataFrames' default index behaviour.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2023-2024 (February) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×