8.1.2.19 Column::GetUpperBound

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

Get the row index of the last data in this column. Index values are 0 based.

Syntax

GetUpperBound()

Parameters

Return

Ending row index as an integer

Examples

import PyOrigin
PyOrigin.FindWorksheet('[Book1]Sheet1').Columns(0).SetUpperBound(10)
PyOrigin.FindWorksheet('[Book1]Sheet1').Columns(0).GetUpperBound()

See Also

Column::SetUpperBound