This is a list of URLs to PostgreSQL EXTENSION repos, listed in alphabetical order of parent repo, with active forks listed under each parent.
⭐️ >= 10 stars
⭐️⭐️ >= 100 stars
⭐️⭐️⭐️ >= 1000 stars
Numbers of stars might not be up-to-date.
| /* Filters a column using a predicate. If 'positions' | |
| is set to TRUE, returns the indices of the results | |
| instead of the values */ | |
| FilterBy = | |
| LAMBDA(col, predicate, [positions], | |
| LET(returnPositions, AND(NOT(ISOMITTED(positions)), positions=TRUE), | |
| indices, SEQUENCE(ROWS(col)), | |
| IF(returnPositions, | |
| FILTER(indices, MAP(col, predicate)), | |
| FILTER(col, MAP(col, predicate))))); |
| /* Maps a function on the cells of the given column, | |
| and stacks the resulting arrays. | |
| If the resulting arrays are jagged, rows are | |
| padded with the padding if provided else #NA. | |
| TODO: does not account for the case where the | |
| function application produces an error. | |
| */ | |
| MapStack = LAMBDA(col, fn, [padding], [stack_original], | |
| LET(Thunk, LAMBDA(value, LAMBDA(value)), | |
| UnThunk, LAMBDA(thunk, thunk()), |
| # Use a general function that returns multiple values | |
| def var_summary(x): | |
| return pd.Series([x.count(), x.isnull().sum(), x.sum(), x.mean(), x.median(), x.std(), x.var(), x.min(), x.dropna().quantile(0.01), x.dropna().quantile(0.05),x.dropna().quantile(0.10),x.dropna().quantile(0.25),x.dropna().quantile(0.50),x.dropna().quantile(0.75), x.dropna().quantile(0.90),x.dropna().quantile(0.95), x.dropna().quantile(0.99),x.max()], | |
| index=['N', 'NMISS', 'SUM', 'MEAN','MEDIAN', 'STD', 'VAR', 'MIN', 'P1' , 'P5' ,'P10' ,'P25' ,'P50' ,'P75' ,'P90' ,'P95' ,'P99' ,'MAX']) | |
| num_summary=custdata_df_num.apply(lambda x: var_summary(x)).T | |
| num_summary |
| /* | |
| substituteMult | |
| Description | |
| Substitutes newtext for multiple oldtext in a text string. | |
| Syntax | |
| SUBSTITUTEMULT(text, oldtext, newtext,[oldtextpos]) | |
| The SUBSTITUTE function syntax has the following arguments: |
| /* | |
| TEXTSPLITARR | |
| Splits text strings by using column and row delimiters. Support 1 dimension array. | |
| The TEXTSPLITARR function works LIKE the built-in TEXTSPLIT function but support 1 dimension text array | |
| Syntax | |
| =TEXTSPLITARR (text,col_delimiter,[row_delimiter]) |
| /* | |
| removeBlankShiftUp | |
| Description | |
| Remove blank cells in array and shift cells in that column up. | |
| Syntax | |
| removeBlankShiftUp (datarange, [lastresult], [lastCol]) | |
| The removeBlankShiftUp function syntax has the following arguments: |
| /* | |
| removeBlankShiftLeft | |
| Description | |
| Remove blank cells in array and shift cells in that row to the left. | |
| Syntax | |
| removeBlankShiftLeft (datarange, [lastresult], [lastrow]) | |
| The removeBlankShiftLeft function syntax has the following arguments: |
| /* | |
| sortByMonth | |
| Description | |
| Sort month range eg. Jan,22 Apr,22 Aug,22 jan23 | |
| Syntax | |
| sortByMonth(monthRange) | |
| The sortByMonth function syntax has the following arguments: |