title: Python Pandas: Resolving "List Object has no Attribute 'Loc'"
body: <p>I import a CSV as a DataFrame using:</p>
  
  <pre><code>import numpy as np
  import pandas as pd
  
  df = pd.read_csv("test.csv")
  </code></pre>
  
  <p>Then I'm trying to do a simple replace based on IDs:<br>
      <code>df.loc[df.ID == 103, ['fname', 'lname']] = 'Michael', 'Johnson'</code></p>
  
  <p>I get the following error:</p>
  
  <p><code>AttributeError: 'list' object has no attribute 'loc'</code></p>
  
  <p>Note, when I do <code>print pd.version()</code> I get 0.12.0, so it's not a problem (at least as far as I understand) with having pre-11 version.  Any ideas?</p>