标签: python-3.x jupyter-notebook kibana-4 elasticsearch-aggregation
当我尝试运行以下代码时,我得到了"KeyError: 'aggregation'"。不确定出什么事了
"KeyError: 'aggregation'"
s_df = json_normalize((s['aggregation']['2']['buckets']),errors='ignore',sep='.' )