nctoolkit.DataSet.power

DataSet.power(self, x=None)

Powers of variables in dataset

Parameters

x (int, float) – An int or float to take the variables to the power of

Examples

If you wanted to take each variable to the power of 0.5 you would do this:

>>> ds.power(0.5)