You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: highcharts.rb
    path of file: ./repos/daru-view/lib/daru/view/adapters
    
    the code of the file until where you have to start completion: require 'lazy_high_charts'
require_relative 'highcharts/iruby_notebook'
require_relative 'highcharts/display'
require_relative 'highcharts/core_ext/string'
require 'daru'

module Daru
  module View
    module Adapter
      module HighchartsAdapter
        extend self

        # Read : https://www.highcharts.com/docs/chart-concepts to understand
        # the highcharts option concept.
        #
        # TODO : this docs must be improved
        #
        # @param [Hash] options the options to create a chart with.
        # @option opts [String] :title The chart title
 
    
        def guess_data(data_set)
          case
          when data_set.is_a?(Daru::DataFrame)
            # TODO : Currently I didn't find use case for multi index.
            return ArgumentError unless data_set.index.is_a?(Daru::Index)

            index_val = data_set.index.to_a
            data_set.access_row_tuples_by_indexs(*index_val)
          when data_set.is_a?(Daru::Vector)
            data_set.to_a
          when data_set.is_a?(Array)
            data_set
          when data_set.is_a?(String)
            # it can be `id` of html table
            data_set
          else
            # TODO: error msg
            raise ArgumentError
          end