Elastisticsearch_dsl python to create pivot tables

tested it. works as expected.
Thanks again for your help

Am Dienstag, 31. März 2015 00:04:39 UTC+2 schrieb Mike:

Thanks Honza.

You made my day (my night rather, it is midnight here in Brussels).

I quickly tested the code and it gives the same results as the manually
chained expression.

I will test with various metrics tomorrow, I will then mark the question
as “completed”.

Thanks a lot and have a nice day.

P.S:This opens the possibilty to perform any “pivot” table in ES . The
challenge will be to parse the resulting json resuts (see
python - pandas dataframe from a nested dictionary (elasticsearch result) - Stack Overflow), but I hope to find a way.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6e22c9c6-b8d8-4d55-b0d7-57d7b17f45be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.