# Slice

Select rows by positions. This is not supported for relational databases, in which case you should use filter() with row\_number() function.

## How to Access This Feature

### From + (plus) Button

![](https://2850417076-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4HLCK3olgduYoe3RVS%2F-M4oMvCUDQwHTJ0eWi_f%2F-M4oN8S3BqqwJGqhHbJS%2Fcommand-slice-df-menu.png?generation=1586795463427649\&alt=media)

* Click "+" button and select "Other" - > "Slice(Select Rows)"

## Bind multiple data frames by row

![](https://2850417076-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4HLCK3olgduYoe3RVS%2F-M4oMvCUDQwHTJ0eWi_f%2F-M4oN8S5-imJWDTGWGwB%2Fslice.png?generation=1586795463438908\&alt=media)

You can select rows by specifying start and end row position.

1. Start Row - Start Row position. for example, if you want to select rows from second row to fifth row, set 2 as Start Row.
2. End Row - End Row position. if you want to select from rows from second row to fifth row, set 5 as End Row. If you select from second row to last. You can set `n()` for End Row.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.exploratory.io/data-wrangling/slice.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
