my code is want to get a new dataset, but on the line systme.tag.writeblocking line ,it said the type error, could you please help fix it ? thanks
pressurecycles=[]
i=0
for i in range(0,len(pressure_range)):
pressurecycles.append([pressure_range[i],Sum_w[i],stressrange[i],N[i],D[i],CumD[i]])
system.tag.writeBlocking("[default]pressurecycles",system.dataset.toDataSet(['P','n','stressrange','N','D','CumD'],pressurecycles))
````Preformatted text`