Examples
import numpy as np
import pandas as pd
df = pd.DataFrame([[0, 3, 4], [0, 5, 2], [20, 30, 40]],
columns=['X', 'Y', 'Z'])
df
Get value at specified row/column pair:
df.iat[1, 2]
Set value at specified row/column pair:
df.iat[1, 2] = 20
df.iat[1, 2]
Get value within a series:
df.loc[0].iat[1]