# pandas 3.1.0 (BSD-3-Clause), harvested by tools/harvest_corpus.py
=== input

    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.

    Raises
    ------
    IndexError
        When integer position is out of bounds.

    See Also
    --------
    DataFrame.at : Access a single value for a row/column label pair.
    DataFrame.loc : Access a group of rows and columns by label(s).
    DataFrame.iloc : Access a group of rows and columns by integer position(s).

    Examples
    --------
    >>> df = pd.DataFrame([[0, 2, 3], [0, 4, 1], [10, 20, 30]], columns=["A", "B", "C"])
    >>> df
        A   B   C
    0   0   2   3
    1   0   4   1
    2  10  20  30

    Get value at specified row/column pair

    >>> df.iat[1, 2]
    1

    Set value at specified row/column pair

    >>> df.iat[1, 2] = 10
    >>> df.iat[1, 2]
    10

    Get value within a series

    >>> df.loc[0].iat[1]
    2
    
=== parse numpydoc
short_description: 'Access a single value for a row/column pair by integer position.'
long_description: |
  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.
blank_after_short_description: True
blank_after_long_description: True
style: numpydoc
- DocstringRaises
  description: 'When integer position is out of bounds.'
  kind: raises
  key: 'raises'
  type_name: 'IndexError'
- DocstringMeta
  description: |
    DataFrame.at : Access a single value for a row/column label pair.
    DataFrame.loc : Access a group of rows and columns by label(s).
    DataFrame.iloc : Access a group of rows and columns by integer position(s).
  kind: text
  key: 'see_also'
  title: 'See Also'
- DocstringExample
  kind: examples
  key: 'examples'
  snippet: '>>> df = pd.DataFrame([[0, 2, 3], [0, 4, 1], [10, 20, 30]], columns=["A", "B", "C"])'
- DocstringExample
  kind: examples
  key: 'examples'
  snippet: |
    >>> df
        A   B   C
    0   0   2   3
    1   0   4   1
    2  10  20  30
- DocstringExample
  description: 'Get value at specified row/column pair'
  kind: examples
  key: 'examples'
  snippet: |
    >>> df.iat[1, 2]
    1
- DocstringExample
  description: 'Set value at specified row/column pair'
  kind: examples
  key: 'examples'
  snippet: '>>> df.iat[1, 2] = 10'
- DocstringExample
  kind: examples
  key: 'examples'
  snippet: |
    >>> df.iat[1, 2]
    10
- DocstringExample
  description: 'Get value within a series'
  kind: examples
  key: 'examples'
  snippet: |
    >>> df.loc[0].iat[1]
    2
=== detect
numpydoc
=== compose numpydoc
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.

Raises
------
IndexError
    When integer position is out of bounds.

See Also
--------
DataFrame.at : Access a single value for a row/column label pair.
DataFrame.loc : Access a group of rows and columns by label(s).
DataFrame.iloc : Access a group of rows and columns by integer position(s).

Examples
--------
>>> df = pd.DataFrame([[0, 2, 3], [0, 4, 1], [10, 20, 30]], columns=["A", "B", "C"])
>>> df
    A   B   C
0   0   2   3
1   0   4   1
2  10  20  30

Get value at specified row/column pair

>>> df.iat[1, 2]
1

Set value at specified row/column pair

>>> df.iat[1, 2] = 10
>>> df.iat[1, 2]
10

Get value within a series

>>> df.loc[0].iat[1]
2
