8.1.7.2 Datasheet::ClearData
It is recommended that you switch to the originpro package. PyOrigin is primarily for users who need to work with Origin version prior to 2021. |
Contents
Description
Clear worksheet of data and reduce number of rows (or optionally NOT reduce)
Syntax
ClearData(C1, C2)
Parameters
- C1
begin column
- C2
end column
Return
True if succeed, otherwise False
Examples
EX1
#Create Book1 with one sheet with 5column and 5row, set some numbers in sheet import PyOrigin wks=PyOrigin.FindWorksheet('Book1') #Empty the data in col(3) and col(4) in worksheet wks.ClearData(2,3)