code: def _retrieve_analytics(sagemaker_session, tuning_job_name):
      tuner_analytics = HyperparameterTuningJobAnalytics(
          hyperparameter_tuning_job_name=tuning_job_name,
          sagemaker_session=sagemaker_session,
      )
      _verify_analytics_dataframe(tuner_analytics)
      _verify_analytics_tuning_ranges(tuner_analytics)
  
imports: from __future__ import absolute_import
  import json
  import os
  import pytest
  from sagemaker import image_uris, utils
  from sagemaker.analytics import HyperparameterTuningJobAnalytics
  from sagemaker.deserializers import JSONDeserializer
  from sagemaker.estimator import Estimator
  from sagemaker.serializers import SimpleBaseSerializer
  from sagemaker.tuner import ContinuousParameter, IntegerParameter, HyperparameterTuner
  from tests.integ import datasets, DATA_DIR, TUNING_DEFAULT_TIMEOUT_MINUTES
  from tests.integ.timeout import timeout, timeout_and_delete_endpoint_by_name
label_desc: Use image node_id 7 for calling a global function with example usage: _retrieve_analytics(sagemaker_session, tuning_job_name) without return types