# concatenate_cells

> **Function** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/document_loaders/notebook/concatenate_cells)

Combine cells information in a readable format ready to be used.

## Signature

```python
concatenate_cells(
    cell: dict,
    include_outputs: bool,
    max_output_length: int,
    traceback: bool,
) -> str
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `cell` | `dict` | Yes | A dictionary |
| `include_outputs` | `bool` | Yes | Whether to include the outputs of the cell. |
| `max_output_length` | `int` | Yes | Maximum length of the output to be displayed. |
| `traceback` | `bool` | Yes | Whether to return a traceback of the error. |

## Returns

`str`

A string with the cell information.

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/document_loaders/notebook.py#L12)