# Load Into pandas

This recipe loads `fundamentals.json` into pandas and filters it to one chain and one metric. Use this recipe when you want a notebook-friendly workflow.

## Example

```python
import pandas as pd
import requests

url = "https://api.growthepie.com/v1/fundamentals.json"
response = requests.get(url, timeout=30)
response.raise_for_status()

df = pd.DataFrame(response.json())
df["date"] = pd.to_datetime(df["date"])

subset = df[
    (df["origin_key"] == "arbitrum") &
    (df["metric_key"] == "txcount")
].sort_values("date")

print(subset.tail())
```

## Related Pages

* [Compare Chains Over Time](/recipes-tutorials/recipes/compare-chains-over-time.md)
* [Plot A Timeseries](/recipes-tutorials/recipes/plot-a-timeseries.md)


---

# 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.growthepie.com/recipes-tutorials/recipes/load-into-pandas.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.
