finam.data.get_units#

finam.data.get_units(xdata)[source]#

Get units of the data.

Parameters:

xdata (DataArray) – The given data array.

Returns:

Units of the data.

Return type:

pint.Unit