title: Converting output into .csv file
body: <p>I am new to Python, and I am currently writing code to parse through an excel sheet of websites, look at websites that have been modified more than three months ago, and then pull out the names and emails of contacts at those sites. My problem now is that whenever I run the code in my terminal, it only shows me some of the output, so I'd like to export it to a .csv file or really anything that lets me see all the values but I'm not sure how.</p>
  <pre><code>import pandas as pd
  data = pd.read_csv(&quot;filename.csv&quot;)
  data.sort_values(&quot;Last change&quot;, inplace = True)
  filter1 = data[&quot;Last change&quot;]&lt;44285
  data.where(filter1, inplace = True)
  print(data)
  </code></pre>
  <p>note: the 44285 came from me converting the dates in excel to integers so I didn't have to in Python, lazy I know but I'm learning</p>