title: AttributeError: 'DataFrame' object has no attribute 'items' (pandas DataFrame error)
body: <p>I've created a pandas DataFrame with data from loops (data saved <a href="https://drive.google.com/file/d/1v3vIU9upWwtwPNUAFukR9J7hd0Vnh-dD/view?usp=sharing" rel="nofollow noreferrer">here</a>). Now, I want to iterate over this DataFrame. However, when I try to access the items() function like this:</p>
  <pre><code>frame = pandas.read_csv(data_path + '/file1.csv')
  frame.items()
  </code></pre>
  <p>I get this error:</p>
  <pre><code>Traceback (most recent call last):
    File &quot;&lt;input&gt;&quot;, line 1, in &lt;module&gt;
    File &quot;C:\Python27\ArcGIS10.7\lib\site-packages\pandas\core\generic.py&quot;, line 2668, in __getattr__
      return object.__getattribute__(self, name)
  AttributeError: 'DataFrame' object has no attribute 'items'
  </code></pre>
  <p>This is especially weird since PyCharm offers me the option to fill in <code>items</code> if I just type <code>frame.it</code><br />
  What does this mean?</p>