code: def pretty_params(data, indent=2):
      
      data_to_print = _series_data_filter(data)
      print(json.dumps(data_to_print, indent=indent))
docs: Pretty print your Highcharts params (into a JSON).
  
      data: dict
          Serialized DataFrame in a dict for Highcharts