# Python Setting

## Python Editor

The python editor is an area where you can write, run, debug your own python code to analyze, and get the result of the code.

### Code Area

<figure><img src="/files/5wFkMxlll7LHvLrflBAE" alt=""><figcaption></figcaption></figure>

Code area is an area to write your python code. Unlike the [function mode](/analytics/create-chart/function.md), the python mode does not have multiple tabs, but has only one code area. You can get the market data by using functions in [Python Library](broken://pages/NJYXike2frU5BSOf9OUk), and analyze them with the popular libraries of python, such as [numpy](https://numpy.org/), [pandas](https://pandas.pydata.org/), and etc.

### Code Output

<figure><img src="/files/i7Ap65dISEdlc42KbIpG" alt=""><figcaption><p>The data in result variable is shown in a table format.</p></figcaption></figure>

After selecting Run button, the code's result can be seen at the code output. A `pandas.DataFrame` object you've set to `result` variable is returned as a result of the code run.&#x20;

### Console Log

## Run


---

# 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.unblinked.com/analytics/create-chart/python/2.-how-to-analyze-data/python-setting.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.
