code: def generate_bq_schema(df, default_type="STRING"):
      
      # deprecation TimeSeries, #11121
      warnings.warn(
          "generate_bq_schema is deprecated and will be removed in "
          "a future version",
          FutureWarning,
          stacklevel=2,
      )
  
      return _generate_bq_schema(df, default_type=default_type)
docs: DEPRECATED: Given a passed df, generate the associated Google BigQuery
      schema.
  
      Parameters
      ----------
      df : DataFrame
      default_type : string
          The default big query type in case the type of the column
          does not exist in the schema.