This site is now archived and read-only. The source code can be found at github.com/datopian/datapipes.

Data Pipes

tail

Truncate dataset to its last rows.

Usage

tail [-n COUNT]

-n COUNT
    Number of rows to truncate to. If this option is
    omitted, it defaults to 10.

    A leading + sign means this number is relative to the
    first row. Otherwise it is relative to the last row.

Examples

Return the last 10 rows.

/csv/tail/?url=https://raw.githubusercontent.com/datasets/bond-yields-uk-10y/9e921283/data/annual.csv

Return all rows after the first 5.

[/csv/tail -n +5/?url=https://raw.githubusercontent.com/datasets/bond-yields-uk-10y/9e921283/data/annual.csv](/csv/tail -n +5/?url=https://raw.githubusercontent.com/datasets/bond-yields-uk-10y/9e921283/data/annual.csv)