> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bigdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Excel

# Excel Utilities

> [!WARNING]
>
> We are sunsetting our SDKs and will no longer add new features, security patches, bug fixes, or technical support for them. To access the latest capabilities and ongoing improvements, we encourage you to migrate to our [RESTful API](https://docs.bigdata.com/api-rest/introduction.md).
>
> SDK support will officially end on **December 31, 2026**. On this date, the underlying endpoints used by the SDKs and related documentation will be decommissioned.
>
> To avoid any disruption to your services, please ensure your migration is complete by that date.
>
> For migration assistance, please contact us at [support@bigdata.com](mailto:support@bigdata.com).

## check\_excel\_dependencies

Check if the required Excel dependencies (`openpyxl` and `pillow`) are installed.

**Returns**

* `bool`: True if dependencies are installed, False otherwise.

**Example**

```python theme={null}
from bigdata_research_tools.excel import check_excel_dependencies

if not check_excel_dependencies():
    print("Please install Excel dependencies: pip install bigdata_research_tools[excel]")
```

***

## ExcelManager

Class for managing Excel workbook operations, formatting, and branding.

**Parameters (constructor)**

* `min_column_width` (int): Minimum column width (default: 12).
* `max_column_width` (int): Maximum column width (default: 75).
* `row_offset` (int): Row offset for data (default: 3).
* `column_offset` (int): Column offset for data (default: 1).

**Key Methods**

* `save_workbook(df_args, workbook_path)`: Save DataFrames to an Excel workbook.
* `beautify_workbook(workbook_path)`: Apply formatting to an Excel workbook.

**Example**

```python theme={null}
from bigdata_research_tools.excel import ExcelManager
import pandas as pd

df = pd.DataFrame({"A": [1, 2], "B": [3, 4]})
excel_manager = ExcelManager()
excel_manager.save_workbook(
    df_args=[(df, "Sheet1", (0, 0))],
    workbook_path="output.xlsx"
)
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.