0 votes
in Python by
How to fetch a data entry from a pandas dataframe using a given value in index?

1 Answer

0 votes
by

To fetch a row from dataframe given index x, we can use loc.

Df.loc[10] where 10 is the value of the index.

Related questions

+1 vote
asked Oct 28, 2022 in Python by SakshiSharma
+1 vote
asked Oct 28, 2022 in Python by SakshiSharma
...