8.1.2.18 Column::GetUnits

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 units in a column label.

Syntax

GetUnits()

Parameters

Return

A string containing the name of the units

Examples

import PyOrigin
PyOrigin.FindWorksheet('[Book1]Sheet1').Columns(0).SetUnits('cm')
print('The unit is %s' % PyOrigin.FindWorksheet('[Book1]Sheet1').Columns(0).GetUnits())

See Also

Column::SetUnits