> For the complete documentation index, see [llms.txt](https://utca.knowledgator.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://utca.knowledgator.com/structural-components/filter.md).

# Filter

Filters data series by fulfilling of condition

Subclass of [**Component**](/core/component.md).

## Module: [core](/framework-structure.md#core)

## Methods and properties

Main methods and properties

***

### <mark style="color:blue;">\_\_init\_\_</mark>

#### Arguments:

* <mark style="color:orange;">**condition**</mark>**&#x20;(**[**ConditionProtocol**](/structural-components/condition.md#conditionprotocol)**):** Filter condition.
* <mark style="color:orange;">**get\_key**</mark>**&#x20;(str):** Key associated with series of data items.
* <mark style="color:orange;">**set\_key**</mark>**&#x20;(Optional\[str], optional):** Data destination. If equals to None, get\_key will be used. Defaults to None.
* <mark style="color:orange;">**name**</mark>**&#x20;(Optional\[str], optional):** Name for identification. If equals to None, class name will be used. Defaults to None.

***

***
