# fix_table_name

> **Function** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/utilities/powerbi/fix_table_name)

Add single quotes around table names that contain spaces.

## Signature

```python
fix_table_name(
    table: str,
) -> str
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/utilities/powerbi.py#L275)