CBSE BOARD XII, asked by amirastyles, 5 months ago

The function used to get the original index values in a dataframe is .......................... .

Answers

Answered by prasanapriyabruceli
4

Answer:

Step 1: Get bool dataframe with True at positions where value is 81 in the dataframe using pandas.DataFrame.isin() DataFrame. ...

Step 2 : Get list of columns that contains the value. ...

Step 3 : Iterate over selected columns and fetch the indexes of the rows which contains the value.

Similar questions