numpy.mean

The numpy.mean function returns the average of the elements in array a. By default the average of the array is calculated once it is flattened. If an axis is specified, only that axis will be considered in the calculation.

Submitted by admin on Mon, 01/21/2019 - 15:44

MINA

The MINA function returns the smallest value in a column considering numbers, dates and logical values.

Submitted by admin on Mon, 01/21/2019 - 13:49

ndarray.shape

The numpy.ndarray.shape attribute returns a tuple with the size of the array, but can also be used to resize it. As with the numpy.reshape function, one of the dimensions sizes can be -1, in which case the size of that dimension is inferred from the number of elements in the array and the size of the other dimensions.

Submitted by admin on Mon, 01/21/2019 - 10:34

sorted

The sorted function returns a new ordered list from the elements of the iterable passed as an argument.

Submitted by admin on Sun, 01/20/2019 - 18:19

min

The min function returns the minimum value of an iterable, or the minimum value of two or more arguments. If only one positional argument is specified, it must be an iterable and the function will return its lowest element. If two or more positional arguments are included, the function will return the lowest argument. If multiple minimum values are found, the first one found is returned.

Submitted by admin on Sun, 01/20/2019 - 18:09

max

The max function returns the maximum value of an iterable, or the maximum value of two or more arguments. If only one positional argument is specified, it must be an iterable and the function will return its highest element. If two or more positional arguments are included, the function will return the highest argument. If multiple maximum values are found, the first one found is returned.

Submitted by admin on Sun, 01/20/2019 - 17:55

str

The str function returns the text version of the object included as an argument. If no argument is included, the function returns an empty text string.

Submitted by admin on Sun, 01/20/2019 - 17:39

print

The print function prints the first argument, objects, in the file channel, using sep as a separator and followed by end. The arguments sep, end, file, and flush, if specified, must be given as keyword arguments.

All arguments that are not specified with a keyword are converted to text strings. Both sep and end must be text strings, although they can also be None, which will mean that the default values are considered.

Submitted by admin on Sun, 01/20/2019 - 16:37