MeridianMERIDIAN

Shape operations

Operations that clean, inspect and rearrange one table. Some work on its columns, such as changing a column's type, parsing dates, filling in missing values or adding a calculated column. Some work on its rows, such as filtering, sorting, sampling or removing duplicates. Some change the table as a whole, such as summarising by group or pivoting, and some only look at it, such as profiling the table or checking its quality.

51 operations, grouped by the shape of the result, each with its status in arcform today.

One row out per row in, with columns added or changed

Fewer rows, same columns

  • Deduplicate rowsRuns as a SQL step

    Distinct rows, unique by key, keep first or last per key (3 variants with a page)

  • Filter rowsRuns as a SQL step

    Keep or drop rows by a condition (5 variants with a page)

  • Take the first or last rowsRuns as a SQL step

    First N, last N, top N, row range, skip rows (3 variants with a page)

  • Sample rowsRuns as a SQL step

    Random or stratified sample, train and test split (3 variants with a page)

  • Split a tableRuns as a SQL step

    Split one table into several by a key or a condition

More rows, each traceable to one input row

  • Split a list into rowsRuns as a SQL step

    One row to many: unnest, explode, split to rows (2 variants with a page)

A new grain: each row stands for a group of input rows

The same cells, rearranged

A table describing the input rather than holding its rows

  • Chart the dataA feature, not a step

    Plot the data for exploration (2 variants with a page)

  • Measure correlationRuns as a SQL step

    Correlation or association matrix, contingency table (2 variants with a page)

  • See a column's distributionRuns as a SQL step

    Histogram, quantiles of one column

  • Profile a tableRuns as a SQL step

    Summary statistics, distinct counts, null counts

  • List columns and typesRuns as a SQL step

    List columns, types, metadata (3 variants with a page)

  • Check data qualityRuns as a SQL step

    Data-quality rule, assertion, test, constraint or schema check (8 variants with a page)

Operations