I am writing a python program to process .hdf files, I would like to output this data to an excel spreadsheet. I put the data into an array as shown below:
Code:
data = []
for rec in hdfFile[:]:
data.append(rec)
from here I have created a 2D array with 9 columns and 171 rows.
I am looking for a way to iterate through this array and write each entry in order to a sheet. I am wondering if If I should create a list instead, or how to do this with the array I have created.
Any help would be greatly appreciated.