filter

The filter function takes a function and an iterable object as arguments and returns the elements of the iterable that satisfy the function (those for which the function returns the boolean True). We can say that filter filters the iterable leaving only those elements that satisfy the indicated function.

Submitted by admin on Wed, 01/13/2021 - 14:11

dir

The dir function returns the set of names associated with the object included as an argument. If no argument is included, returns the set of names in the local scope.

Submitted by admin on Mon, 01/11/2021 - 14:37

pandas.crosstab

The pandas.crosstab function returns the contingency table resulting from crossing two or more fields in a dataframe. Although, by default, the result evaluates the frequencies (absolute or relative) of each combination of values, it is possible to specify an aggregation function.

Submitted by admin on Fri, 11/13/2020 - 10:17

pandas.DataFrame.drop

The .drop() method associated with a pandas dataframe returns a copy of it after deleting the indicated rows or columns. These should be referenced by their explicit labels, not by their position on the axis.

The deletion is done, by default, on the vertical axis (rows are deleted, therefore).

Submitted by admin on Sat, 11/07/2020 - 13:46

COALESCE

The COALESCE function receives two or more expressions as arguments and returns the result of the first one that does not return a BLANK.

Submitted by admin on Mon, 03/16/2020 - 09:08

LASTNONBLANKVALUE

The LASTNONBLANKVALUE function returns the last value resulting from evaluating an expression that is not a Blank, applying this expression to a table ordered according to the values of a certain column.

Submitted by admin on Wed, 02/19/2020 - 21:53

FIRSTNONBLANKVALUE

The FIRSTNONBLANKVALUE function returns the first value resulting from evaluating an expression that is not a Blank, applying this expression to a table ordered according to the values of a certain column.

Submitted by admin on Wed, 02/19/2020 - 20:45

QUARTER

The QUARTER function returns the quarter of a date as an integer in the range 1-4.

Submitted by admin on Thu, 01/02/2020 - 13:14