# 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="https://209745228-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRB9zlm2euYUzs82cWD4l%2Fuploads%2FYi5tHAC3hZs9sqjMe6NC%2F%E1%84%89%E1%85%B3%E1%84%8F%E1%85%B3%E1%84%85%E1%85%B5%E1%86%AB%E1%84%89%E1%85%A3%E1%86%BA%202023-07-20%20%E1%84%8B%E1%85%A9%E1%84%8C%E1%85%A5%E1%86%AB%2010.55.14.png?alt=media&#x26;token=8470e014-e69e-4d2e-a449-cc07cebb9827" alt=""><figcaption></figcaption></figure>

Code area is an area to write your python code. Unlike the [function mode](https://docs.unblinked.com/analytics/create-chart/function), 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](https://docs.unblinked.com/analytics/create-chart/python/2.-how-to-analyze-data/broken-reference), 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="https://209745228-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRB9zlm2euYUzs82cWD4l%2Fuploads%2F5CeqboSNHpthqsGiRGyB%2F%E1%84%89%E1%85%B3%E1%84%8F%E1%85%B3%E1%84%85%E1%85%B5%E1%86%AB%E1%84%89%E1%85%A3%E1%86%BA%202023-07-20%20%E1%84%8B%E1%85%A9%E1%84%8C%E1%85%A5%E1%86%AB%2011.07.56.png?alt=media&#x26;token=b169b1eb-179e-4692-8199-01e38726b34b" 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
