nctoolkit.DataSet.square

DataSet.square(self)

Method to get the square of variables

Examples

If you wanted to calculate the square of each variable, you just need to do this:

>>> ds.power()