Computer Science, asked by rudra938333, 1 month ago

In Pandas the function used to get rows (or columns) with particular labels from the index 1M a)iloc() b) loc() c) ilabel() d) id()​

Answers

Answered by anjumanyasmin
0

From the given question.

The correct answer is a. loc

Answered by thakrepayal
0

You can use the loc and iloc functions to access columns in a Pandas DataFrame. Let's see how. If we wanted to access a certain column in our DataFrame,

For example the Grades column, we could simply use the loc function and specify the name of the column in order to retrieve it.

Hence, The correct option is a)iloc() and b) loc()

Similar questions