w3resource

Pandas DataFrame property: iat

DataFrame - iat property

The iat property is used to access a single value for a row/column pair by integer position.

Similar to iloc, in that both provide integer-based lookups. Use iat if you only need to get or set a single value in a DataFrame or Series.

Syntax:

DataFrame.iat

Raises: IndexError
When integer position is out of bounds

Example:


Download the Pandas DataFrame Notebooks from here.

Previous: DataFrame - at property
Next: DataFrame - loc property



Follow us on Facebook and Twitter for latest update.