0
我有一个查询:ElasticSearch查询大熊猫数据帧
s = Search(using=client, index='myindex', doc_type='mytype')
s.query = Q('bool', must=[Q('match', BusinessUnit=bunit),
Q('range', **dicdate)])
res = s.execute()
还给我627033行,我想转换本词典在数据帧与627033线
您可以提供有关ElasticSearch查询输出的更多信息吗?如果仅仅是字典,问题应该是将字典转换为数据框。有很多答案在这个例子https://stackoverflow.com/questions/34589332/python-dictionary-to-pandas-dataframe –
实际上不是我正在寻找的字典的格式,但它总是只返回10我想要所有的元素 –