Set the number of row in DataSheet.
SetRowCount(Rows)
EX1
#Create Book1 with one sheet import PyOrigin wks=PyOrigin.FindWorksheet('Book1') #Get the number of columns in active sheet wks.SetRowCount(10)
Datasheet::GetRowCount