# Quick Start

## Prerequisite

Please start by following the [installation instructions](installation.qmd), and then install [pandas](https://pandas.pydata.org/docs/getting_started/install.html).

## A simple example

For this basic example let's create a `main.py` file with the following content:

```{python}
#| eval: true
#| code-fold: false
#| code-summary: a letsql simple example
import pandas as pd

import letsql as ls

con = ls.connect()

df = pd.DataFrame({"a": [1, 2, 3, 4, 5], "b": [2, 3, 4, 5, 6]})
t = con.register(df, "frame")

res = t.head(3).execute()
print(res)
```

If you run `python main.py` then your output should look like the above.

<!-- FIXME Add example reading from Python dictionary or list -->