def data_table_state2():
    """Get a data table state.

    Returns:
        The data table state class.
    """

    class DataTableState(BaseState):
        _data = pd.DataFrame()

        @rx.var
        def data(self):
            return self._data

    return DataTableState
Get a data table state.

    Returns:
        The data table state class.
    
tests/units/components/datadisplay/conftest.py