---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://catboost.ai/docs/en/concepts/python-reference_pool_num_col.md
  - href: en/concepts/python-reference_pool_num_col.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://catboost.ai/docs/en/llms.txt

# num_col

<!-- source: en/_includes/work_src/reusage-python/num_col-desc.md -->
Return the number of columns that contain feature data.
<!-- endsource: en/_includes/work_src/reusage-python/num_col-desc.md -->


## Method call format {#call-format}

```python
num_col()
```

## Type of return value {#output-format}
int
