Saturday, 12 April 2025

Loc and iLoc Properties in Pandas

 

Loc and iLoc Properties in Pandas



# Get the first row value of the column 'Supplierid'
first_supplier_id = df.loc[0, 'Supplierid']




Examples iloc

Example loc











 









No comments:

Post a Comment