code: def _get_progress_bar(self, progress_bar_type):
          
          if tqdm is None:
              if progress_bar_type is not None:
                  warnings.warn(_NO_TQDM_ERROR, UserWarning, stacklevel=3)
              return None
  
          description = "Downloading"
          unit = "rows"
  
          try:
              if progress_bar_type == "tqdm":
                  return tqdm.tqdm(desc=description, total=self.total_rows, unit=unit)
              elif progress_bar_type == "tqdm_notebook":
                  return tqdm.tqdm_notebook(
                      desc=description, total=self.total_rows, unit=unit
                  )
              elif progress_bar_type == "tqdm_gui":
                  return tqdm.tqdm_gui(desc=description, total=self.total_rows, unit=unit)
          except (KeyError, TypeError):
              # Protect ourselves from any tqdm errors. In case of
              # unexpected tqdm behavior, just fall back to showing
              # no progress bar.
              warnings.warn(_NO_TQDM_ERROR, UserWarning, stacklevel=3)
          return None
docs: Construct a tqdm progress bar object, if tqdm is installed.