python pandas dataframe to elasticsearch code example
Example: make pandas dataframe from elasticsearch
# Create a basic ES client
client = Elasticsearch(['url'])
# Search
search = Search(using=client)
results = search.execute()
search_dict = results.hits.hits
results_df = pd.DataFrame(search_dict)