Informatics Practices

To extract row/column from a dataframe, ………… function may be used.

  1. row()
  2. column()
  3. loc()
  4. All of these

Python Pandas

3 Likes

Answer

loc()

Reason — The loc() function is used to access row(s) and/or a combination of rows and columns from a DataFrame object.

Answered By

1 Like


Related Questions