title: While loop is not iterating on whole dataset
body: <p>I am using below code to for a while loop however its not iterating on whole data. may I know where am I wrong-</p>
  <pre><code>import numpy as np
  import pandas as pd
  from hurst import compute_Hc
  
  df = pd.read_csv(&quot;AARTIIND.csv&quot;)
  df['Hurst'] = np.nan
  pd.options.mode.chained_assignment = None
  
  j=0
  i=105
  while i &lt;= len(df)+1:
      df['Hurst'].iloc[i-1] = compute_Hc(df['Close'][j:i], kind='price')[0]
      j=j+1
      i=i+1
      print (df.head(108))
      break
  </code></pre>