nctoolkit.DataSet.power

DataSet.power(self, x=None)

Powers of variables in dataset :param x: An int or float to take the variables to the power of :type x: int, float

Examples

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

>>> ds.power(0.5)