Skip to content

pd.DataFrame.iat

pandas.DataFrame.iat

Note

We only support indexing using iat using a pair of integers. We require that the second int (the column integer) is a compile time constant

Example Usage

>>> @bodo.jit
... def f():
...   df = pd.DataFrame({"A": [1,2,3], "B": [4,5,6], "C": [7,8,9]})
...   df.iat[0, 0] = df.iat[2,2]
...   return df
>>> f()
   A  B  C
0  9  4  7
1  2  5  8
2  3  6  9