title: How to split a large univariate dataframe into multiple smaller dataframes based on a predefined size value?
body: <p>I have a univariate data frame:</p>
  
  <pre><code>Y=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20] 
  </code></pre>
  
  <p>I would like to split it so that I obtain different data frames for x timesteps. For eg, for the case of 2 timesteps, I'd like:</p>
  
  <pre><code>Y[1]=[1,2]
  Y[2]=[3,4]
  Y[3]=[5,6]
  </code></pre>
  
  <p>and so on.....</p>
  
  <p>I even have python code for the same -</p>
  
  <pre><code>dfs = list()
  for x in range(0, len(Y), 2):
      df = Y.iloc[x:x+2]
      df.columns= ['one','two']
      dfs.append(df)
  for df in dfs:
      print(df)
      print()
  </code></pre>