title: How to define color of specific cell in pandas dataframe based on integer position (e.g., df.iloc[1,1]) with df.style?
body: <p>Is it possible to define a color of a specific cell in a pandas dataframe based on integer position like for instance df.iloc[1,1] with pandas styling? <a href="https://pandas.pydata.org/pandas-docs/stable/style.html" rel="noreferrer">https://pandas.pydata.org/pandas-docs/stable/style.html</a> </p>
  
  <p>Something like the following would be nice, but is not working.</p>
  
  <pre><code>def style_specific_cell(val):
  
      color = 'lightgreen'
      val.iloc[2, 8] = color
      return XYZ
  
  df = df.style.applymap(style_specific_cell, subset=['Column1']
  </code></pre>