'Sliced data into Arrays or List
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?
df = pd.read_excel(r'C:\Users\Hp\Desktop\office work.xlsx',sheet_name=1)
df.iloc[0:1,10:17]
output:
P00 P01 P02 P03 P04 P05
0 5.630278 1.372496 0.055846 0.290576 -0.080946 2.540781
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
