To extract row/column from a dataframe, ............ function may be used.
loc()
Reason — The loc() function is used to access row(s) and/or a combination of rows and columns from a DataFrame object.