bigframes.ml.pipeline.Pipeline.to_gbq#

Pipeline.to_gbq(model_name: str, replace: bool = False) Pipeline[source]#

Save the pipeline to BigQuery.

Parameters:
  • model_name (str) – The name of the model(pipeline).

  • replace (bool, default False) – Whether to replace if the model(pipeline) already exists. Default to False.

Returns:

Saved model(pipeline).

Return type:

Pipeline