-
Notifications
You must be signed in to change notification settings - Fork 1
Data Filtering
Brad Martin edited this page Jul 6, 2022
·
12 revisions
IF Pass OPER 0 POW 3

DELETE 27 IN 0

COLS prints the header (If available), the column indices and if the column is numerical
-
COUNTreturns the number of active rows -
COUNT 3.14returns the number of active rows that contain3.14in at least one column -
COUNT 3.14 IN 2returns the number of active rows that contain3.14in column index 2 -
COUNTEX 3.14returns the number of active rows that contain exactly3.14in at least one column -
COUNTEX 3.14 IN 2returns the number of active rows that contain exactly3.14in column index 2
-
DELETEremoves all active rows -
DELETE 3.14removes active rows that contain3.14in at least one column -
DELETE 3.14 IN 2removes active rows that contain3.14in column index 2 -
DELETEEX 3.14removes active rows that contain exactly3.14in at least one column -
DELETEEX 3.14 IN 2removes active rows that contain exactly3.14in column index 2
-
REPLACE 3.14 999replaces any appearance of3.14with999for active rows -
REPLACE 3.14 999 IN 2replaces any appearance of3.14with999in column index 2 for active rows -
REPLACEEX 3.14 999replaces any exact appearance of3.14with999for active rows -
REPLACEEX 3.14 999 IN 2replaces any exact appearance of3.14with999in column index 2 for active rows -
REPLACE ANY 999 IN 2replaces anything in column index 2 with 999 for active rows (Can only useANYfor specified columns) - Use
NULLfor empty like thisREPLACE ANY NULL IN 2
-
IFandIFEXbehaves just like the above commands - When matched by
IForIFEXthe row is activates
-
NOTandNOTEXbehaves just likeIFbut inverse
-
EVAL 2 GR 3.14activates rows where the value in column index 2 is greater than 3.14 - Available evaluators are
GR,LS,GREQ,LSEQ,EQ,NEQ
-
OPER 2 + 3.14adds 3.12 to the column index 2 for all active rows - Available operators are
ADD,SUB,MUL,DIV,MOD,POW,RND
- Deletes all but the first item in the dataset
- Deletes all but the last item in the dataset
-
BETWEENdeletes all between the first and last items in the dataset -
BETWEEN 2deletes all between the second and last items in the dataset -
BETWEEN 2 4deletes all between the second and (2+4+1)th item in the dataset (Data = Data.Skip(a).Take(b).ToList())
The down arrow clears the entry box and the up arrow loads the last valid command
The following strings are ignored for user convenience: row, col, (, )
Documentation/feature requests and bug reports can be filed by:
- Creating a GitHub account and adding them on the Issues tab.
- Emailing bradmartin333@gmail.com