title: DataFrame object has no attribute 'sample'
body: <p>Simple code like this won't work anymore on my python shell:</p>
  
  <pre><code>import pandas as pd
  df=pd.read_csv("K:/01. Personal/04. Models/10. Location/output.csv",index_col=None)
  df.sample(3000)
  </code></pre>
  
  <p>The error I get is:</p>
  
  <pre><code>AttributeError: 'DataFrame' object has no attribute 'sample'
  </code></pre>
  
  <p>DataFrames definitely have a sample function, and this used to work.
  I recently had some trouble installing and then uninstalling another distribution of python. I don't know if this could be related.</p>
  
  <p>I've previously had a similar problem when trying to execute a script which had the same name as a module I was importing, this is not the case here, and pandas.read_csv is actually working.</p>
  
  <p>What could cause this?</p>