Set the number of columns in the DataSheet
SetColCount(Cols)
EX1
#Create Book1 with one sheet import PyOrigin wks=PyOrigin.FindWorksheet('Book1') #Get the number of columns in active sheet wks.SetColCount(5)
Datasheet::GetColCount