CBSE Class 12 Informatics Practices Question 63 of 167

Python Pandas — I — Question 28

Back to all questions
28
Question

Question 28

To get NumPy representation of a dataframe, ............... attribute may be used.

  1. size
  2. shape
  3. values
  4. ndim
Answer

values

Reason — The values attribute will return a NumPy representation of the DataFrame.