# scenarioplanner.converters.dataframe.budget_opt_converters.NamedOptimizationGridConverter

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/google/meridian/blob/v2.2.2/scenarioplanner/converters/dataframe/budget_opt_converters.py#L66-L113) |

Outputs named tables for budget optimization grids.

Inherits From: [`Converter`](https://developers.google.com/meridian/reference/api/scenarioplanner/converters/dataframe/converter/Converter.md.txt)

```python
scenarioplanner.converters.dataframe.budget_opt_converters.NamedOptimizationGridConverter(
    mmm_wrapper: `scenarioplanner.converters.mmm.Mmm`
)
```

When called, this converter returns a data frame with the columns:

- "Group ID" A UUID generated for each named incremental outcome grid.
- "Channel"
- "Spend"
- "Incremental Outcome" For each named budget optimization result in the MMM output proto.

## Methods

### `__call__`

[View source](https://github.com/google/meridian/blob/v2.2.2/scenarioplanner/converters/dataframe/budget_opt_converters.py#L45-L58)

```python
__call__() -> Iterator[tuple[str, pd.DataFrame]]
```

Call self as a function.