title: data.to_excel("output.xlsx") giving indentation error
body: <p>The code works perfectly and generates stocks info until the infinite loop. Python's giving me an error:   </p>
  
  <blockquote>
    <p>data.to_excel("output.xlsx")
        ^ IndentationError: unexpected indent</p>
  </blockquote>
  
  <p>I've tried uninstalling and reinstalling pandas but to no avail. Code is below: </p>
  
  <pre><code>import pandas as pd
  from alpha_vantage.timeseries import TimeSeries
  import time
  
  api_key = 'xxxxxxxxxxxxxxxxx'
  
  ts = TimeSeries(key=api_key, output_format='pandas')
  data, meta_data = ts.get_intraday(symbol='MSFT', interval = '1min', outputsize = 'full')
  print(data)
  
  i = 1 
  while i == 1:
      data, meta_data = ts.get_intraday(symbol='MSFT', interval = '1min', outputsize = 'full')
      data.to_excel("output.csv")
      time.sleep(60)
  </code></pre>