title: In pandas DataFrame, how can I store a specific value from a column into a variable, and then subsequently remove that value from the column?
body: <p>I'm sort of new to using pandas in Python for data visualization, and have this code so far: </p>
  
  <pre><code>import pandas as pd
  data = pd.read_csv(r'/Users/ephemeralhappiness/Desktop/Packet/Fake Data.csv')
  df = pd.DataFrame(data, columns=['A', 'B'])
  print(df)
  </code></pre>
  
  <p>So I have created this DataFrame from reading Fake Data.csv with columns A and B. For example, how would I retrieve the 5th value of column A so I can store it into the variable. How would I remove the 5th value of column A?</p>
  
  <p>I tried the following code for my first question:</p>
  
  <pre><code>print(df.iat(4,0))
  </code></pre>
  
  <p>In theory, this should return the fifth value of column A, but I get the following error:</p>
  
  <pre><code>TypeError: '_AtIndexer' object is not callable
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/f9Igh.png" rel="nofollow noreferrer">Before/after picture but the 5th value removed from column A needs to be stored in a variable first</a></p>