code: def to_gbq(
      dataframe: DataFrame,
      destination_table: str,
      project_id: str | None = None,
      chunksize: int | None = None,
      reauth: bool = False,
      if_exists: str = "fail",
      auth_local_webserver: bool = True,
      table_schema: list[dict[str, str]] | None = None,
      location: str | None = None,
      progress_bar: bool = True,
      credentials=None,
  ) -> None:
      pandas_gbq = _try_import()
      pandas_gbq.to_gbq(
          dataframe,
          destination_table,
          project_id=project_id,
          chunksize=chunksize,
          reauth=reauth,
          if_exists=if_exists,
          auth_local_webserver=auth_local_webserver,
          table_schema=table_schema,
          location=location,
          progress_bar=progress_bar,
          credentials=credentials,
      )
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Any
  from pandas.compat._optional import import_optional_dependency
label_desc: Use image node_id 3 for calling a global function with example usage: to_gbq(dataframe, destination_table, project_id, chunksize, reauth, if_exists, auth_local_webserver, table_schema, location, progress_bar, credentials) without return types