8.1.26.4 Worksheet::DeleteRow

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.


Description

Delete row

Syntax

DeleteRow(nRowIndex)

Parameters

nRowIndex
the index of the row

Return

Returns True on successful and False on failure.

Examples

import PyOrigin
wks = PyOrigin.FindWorksheet('[Book1]Sheet1')
wks.DeleteRow(3)