title: Sliced data into Arrays or List
body: <p>i have sliced data from my excel file below, and it giving me an output: now i want to convert this output into an array or a list how can i do it?</p>
  <pre><code>df = pd.read_excel(r'C:\Users\Hp\Desktop\office work.xlsx',sheet_name=1)
  df.iloc[0:1,10:17]
  </code></pre>
  <p>output:</p>
  <pre><code>P00 P01 P02 P03 P04 P05
  0   5.630278    1.372496    0.055846    0.290576    -0.080946   2.540781
  </code></pre>