class_docstr: Accept Pandas DataFrame values.
  
  This property only exists to support type validation, e.g. for "accepts"
  clauses. It is not serializable itself, and is not useful to add to
  Bokeh models directly.
code: def validate(self, value: Any, detail: bool = True) -> None:
      super().validate(value, detail)
  
      import pandas as pd
  
      if isinstance(value, pd.core.groupby.GroupBy):  # type: ignore
          return
  
      msg = (
          ""
          if not detail
          else f"expected Pandas GroupBy, got {value!r}"
      )
      raise ValueError(msg)
  
file_path: bokeh/src/bokeh/core/property/pd.py
imports: from __future__ import annotations
  import logging
  from typing import TYPE_CHECKING, Any
  from .bases import Property
label_desc: Use image node_id 1 for calling the PandasGroupBy obj's underlying member method code with example usage: obj.validate(value, detail) without return types