code: def create_index(index_name, **kwargs):
      
      es = elasticsearch.Elasticsearch(**kwargs)
      es.indices.create(index=index_name, body=mapping)
      return connect(index_name, **kwargs)
docs: Parameters
      ----------
      index_name : str
          Name of the index to be created
      **kwargs
          Arguments to pass to Elasticsearch instance.
  
      Returns
      -------
  
      Index